Generate auth keys:

[html]
ssh-keygen -t rsa
[/html]

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

[html]
ssh-copy-id root@10.10.10.10
[/html]

*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.

[html]
ssh root@10.10.10.10
[/html]

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@matthewc424.sg-host.com.