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/ root@

Connect via SSH to the remote host without password
# ssh

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.