Skip to content

Instantly share code, notes, and snippets.

@feliperuhland
Created March 31, 2015 17:51
Show Gist options
  • Save feliperuhland/8322b941d0a0caf68f27 to your computer and use it in GitHub Desktop.
Save feliperuhland/8322b941d0a0caf68f27 to your computer and use it in GitHub Desktop.
Copy pub keys
cat ~/.ssh/id_rsa.pub | ssh USER@HOST "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment