Skip to content

Instantly share code, notes, and snippets.

@dshipp
Created June 16, 2014 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dshipp/3dae904891a72777b01a to your computer and use it in GitHub Desktop.
Save dshipp/3dae904891a72777b01a to your computer and use it in GitHub Desktop.
Enable public key authentication
(local machine) $ scp ~/.ssh/id_rsa.pub remoteuser@remotemachine:~
(remote machine) $ cat ~/id_rsa.pub >> ~/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment