What do you need to do before you can perform SSH passwordless logins?
Change the remote user's password.
Create a local SSL certificate.
Generate RSA or DSA key pairs using ssh-keygen.
Change the remote SSH configure to allow it.