Skip to content

Instantly share code, notes, and snippets.

@darrenterhune
Last active January 17, 2018 05:12
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 darrenterhune/0355214e534405b03afa to your computer and use it in GitHub Desktop.
Save darrenterhune/0355214e534405b03afa to your computer and use it in GitHub Desktop.
Dreamhost passwordless login
scp ~/.ssh/id_rsa.pub user@example.com:~/
ssh user@example.com
mkdir .ssh
cat id_rsa.pub >> .ssh/authorized_keys
rm id_rsa.pub
chmod go-w ~
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment