###Passwordless SSH logins with private key authentication
-
On local machine, create your ssh key files
Run
ssh-keygen -t rsa
as your local user, and allow all defaults and no password. This will create your private key associated with your computer and a public key (~/.ssh/id_rsa.pub) file to be shared later. -
Login to remote server and make sure RSA Authentication and Public Key Authentication is on
$ ssh user@remotehost