Skip to content

Instantly share code, notes, and snippets.

@delputnam
Created March 8, 2015 01:26
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 delputnam/3ef2dbede54491b2bbf8 to your computer and use it in GitHub Desktop.
Save delputnam/3ef2dbede54491b2bbf8 to your computer and use it in GitHub Desktop.
Set up ssh without password
ssh-keygen -t rsa
ssh username@remotehost mkdir -p .ssh
cat ~/.ssh/id_rsa.pub | ssh username@remothost 'cat >> .ssh/authorized_keys'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment