SSH key and passphrase creation

Accessing servers from your linux machine.
In your llinux machine, first,  open the terminal and create public key using ssh-keygen command, we can specify the passphrase or leave it.
Your public key has been saved in /root/.ssh/id_rsa.pub file
Copy the key and paste to destination server, /root/.ssh/authorized_keys file (In dest-server in sshd configuration file uncomment “AuthorizedKeysFile”)

Leave a comment