Skip to content

Instantly share code, notes, and snippets.

@davidlbatey
Created April 1, 2012 11:05
Show Gist options
  • Save davidlbatey/2274650 to your computer and use it in GitHub Desktop.
Save davidlbatey/2274650 to your computer and use it in GitHub Desktop.
Install public key on remote authorized keys
cat ~/.ssh/id_rsa.pub | ssh user@remote.machine.com 'cat >> .ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment