Generate auth keys:

ssh-keygen -t rsa

Copy public key (id_rsa.pub) to destination server:

ssh-copy-id root@10.10.10.10

*Or manually insert key from id_rsa.pub (host) into /root/.ssh/authorized_keys (destination)

Now try shelling from the host machine to the destination e.g.

ssh root@10.10.10.10

You shouldn’t be asked for a password and dropped straight into the server.

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk.