SSH to a remote server using a Private-Key

the following steps describe how connect to a remote server via ssh private key instead of password


Step 1:

Generating RSA public and private keys in the client machine



Step 2:

copying the client public key to the authorized keys file at the server




Step 3:

connecting directly to the server with without password


Leave a Reply

Your email address will not be published.