Created
February 5, 2012 02:24
-
-
Save roberocity/1742072 to your computer and use it in GitHub Desktop.
Copy ssh pub key from local to server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh username@host "echo `cat ~/.ssh/id_rsa.pub` >> ~/.ssh/authorized_keys" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change username@host of course.