Home » Software » SSH » SSH Pubkey Authentication

SSH Pubkey Authentication

SSH Pubkey Authentication

Login to a remote server from another server with SSH Pubkey Authentication, and avoid the password prompt.

SSH Pubkey Authentication

Create an SSH key for pubkey authentication

#ssh-keygen -t rsa

or

#ssh-keygen -t dsa

Copy the key to the remote server

#scp ~/.ssh/id_dsa.pub username@192.168.168.200:

 

 On the remote server

#cat id_dsa.pub >> ~/.ssh/authorized_keys

 


As an Amazon Associate I earn from qualifying purchases. Read our Privacy Policy for more info.

Leave a Reply

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