Skip to content

Instantly share code, notes, and snippets.

@toonketels
Last active December 20, 2015 12:18
Show Gist options
  • Save toonketels/6129489 to your computer and use it in GitHub Desktop.
Save toonketels/6129489 to your computer and use it in GitHub Desktop.
Copy ssh public key to remote server.
cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> ~/.ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment