Skip to content

Instantly share code, notes, and snippets.

@lukemartin
Created November 12, 2012 10:41
Show Gist options
  • Save lukemartin/4058590 to your computer and use it in GitHub Desktop.
Save lukemartin/4058590 to your computer and use it in GitHub Desktop.
Copy public key to remote authorized_files
cat ~/.ssh/id_rsa.pub | ssh user@machine "cat >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment