Skip to content

Instantly share code, notes, and snippets.

@orendon
Created February 21, 2014 00:49
Show Gist options
  • Select an option

  • Save orendon/9126685 to your computer and use it in GitHub Desktop.

Select an option

Save orendon/9126685 to your computer and use it in GitHub Desktop.
cat ~/.ssh/id_rsa.pub | ssh -p 22 username@123.123.123.123 'cat >> ~/.ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment