SSH without password

Problem

SSH without password

Solution

On your local machine create public key if you don’t already have then copy to server like so:

scp id_rsa.pub  your-server-location

Then on the server add the public keys to the authorized keys

 ~/.ssh   _$ cat ~/.ssh/your-id_rsa.pub >> ~/.ssh/authorized_keys

some more info link