Skip to content

Instantly share code, notes, and snippets.

@jacobsimeon
Created May 7, 2013 22:31
Show Gist options
  • Save jacobsimeon/5536709 to your computer and use it in GitHub Desktop.
Save jacobsimeon/5536709 to your computer and use it in GitHub Desktop.
Copy ssh key to authorized_keys on remote server
cat ~/.ssh/id_rsa.pub | ssh user@server "cat >> .ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment