SSH login without password

Login to SSH without password

#On your laptop generate a pair of public keys

ssh-keygen -t rsa 

#SSH-copy-id (upload) your public key to remote host

ssh-copy-id root@remoteHost 

(ssh-copy-id appends your public key to RemoteHost at ~/.ssh/authorized_key location) 

 

Revoke or remove auto login without password

Leave a Comment

Your email address will not be published. Required fields are marked *