Skip to content

Instantly share code, notes, and snippets.

@JoshuaEstes
Created June 2, 2011 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoshuaEstes/1005145 to your computer and use it in GitHub Desktop.
Save JoshuaEstes/1005145 to your computer and use it in GitHub Desktop.
Command line example of how to add your key to a remote computer to avoid entering in a password out of laziness.
cat ~/.ssh/id_rsa.pub | ssh username@host "cat - >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment