Skip to content

Instantly share code, notes, and snippets.

@jmcarbo
Created August 23, 2009 08:06
Show Gist options
  • Save jmcarbo/173199 to your computer and use it in GitHub Desktop.
Save jmcarbo/173199 to your computer and use it in GitHub Desktop.
cat ~/.ssh/id_rsa.pub | ssh [email protected] 'mkdir ~/.ssh;chmod 700 ~/.ssh;touch ~/.ssh/authorized_keys2;chmod 600 ~/.ssh/authorized_keys2;cat - >> .ssh/authorized_keys2 '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment