Created
January 31, 2013 07:11
-
-
Save col/4680947 to your computer and use it in GitHub Desktop.
Quick command to add my public jey to a remote servers authorized keys.
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
ssh user@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