Skip to content

Instantly share code, notes, and snippets.

@banjeremy
Created December 30, 2016 17:29
Show Gist options
  • Save banjeremy/a5f0c624facde684fcd9e140b6011465 to your computer and use it in GitHub Desktop.
Save banjeremy/a5f0c624facde684fcd9e140b6011465 to your computer and use it in GitHub Desktop.
Linux no password ssh login
user=myuser
server=example.com
cat ~/.ssh/id_rsa.pub | ssh $user@$server "cat >> ~/.ssh/authorized_keys"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment