Skip to content

Instantly share code, notes, and snippets.

@hanksudo
Created April 11, 2014 11:52
Show Gist options
  • Save hanksudo/215205a99e59943c725d to your computer and use it in GitHub Desktop.
Save hanksudo/215205a99e59943c725d to your computer and use it in GitHub Desktop.
SSH without Password.md
sudo curl "http://phildawson.co.uk/ssh-copy-id" -o /usr/bin/ssh-copy-id
sudo chmod +x /usr/bin/ssh-copy-id

ssh-copy-id -i ~/.ssh/id_rsa.pub user@host
ssh-copy-id -i ~/.ssh/id_rsa.pub "user@host -p 8129" 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment