SSH Login Without Password
Add remote host to ssh config file
$ nano ~/.ssh/config
Host remotehost
Hostname <remote host hostname or ip>
Port <remote host ssh port>
HostKeyAlias remotehost
User <your name>
Create public and private keys
$ ssh-keygen
Copy the public key to remote host
$ ssh-copy-id -i ~/.ssh/id_rsa.pub <remote host>
Login to remote host
$ ssh <remote host>