Transferring the SSH Public Key

Transferring the SSH Public Key

You now have a private and public key on your backup server. You need to transfer the public key to the root user on each client machine you wish to access.

You can do that by typing:

ssh-copy-id root@client_ip_address

Type “yes” to accept the new server’s identity, and then enter the root password of the remote machine. The key should then be transfered.

Check that your key was transfered correctly by typing:

ssh root@client_ip_address

You should be able to log in without having to type a password.

Get back to the BackupPC server by typing:

exit
Categories: linux

Comments are closed.