Created
April 17, 2011 17:58
-
-
Save christoomey/924292 to your computer and use it in GitHub Desktop.
Copy a public key to a remote host
This file contains 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
# Copy the id_rsa.pub public key from local box to remote server | |
user@hostname "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