How to authenticate passwordless via SSH

Change to the user that should be able to authenticate passwordless
# su - monitor

If there is no RSA keypair, generate a new one
# ssg-keygen -t rsa

User ssh-copy-id to copy your public SSH key to the destination
# ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.129.53.27

Connect via SSH to the remote host without password
# ssh 10.129.53.27

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.