Password-less SSH

Hello,
In this post, we will be seeing how to enable passwordless login using SSH Keygen.

Open your terminal and type
ssh-keygen

You can simply press return key.
Then try
ssh-copy-id username@ip

``
This will copy your RSA public key to the destination machine. In this step you will be prompted for password.

Once you are back in your terminal try to ssh into the destination machine.
Now you can login without the password !