Here's my passwordless loging tute:
Code:
On the server:
ssh-keygen -f /root/.ssh/identity.silas -t dsa
rsync -va /root/.ssh/identity.silas.pub root@silas:/root/.ssh/
The above lines you run on the backup server, and then you go to silas and you run:
cat /root/.ssh/identity.silas.pub >> /root/.ssh/authorized_keys
chmod 640 /root/.ssh/authorized_keys
rm -f /root/.ssh/identity.silas.pub
Then test passwordless logins from server to silas by typing this at the server's prompt:
ssh -o"BatchMode yes" -o"user root" silas -i /root/.ssh/identity.silas
silas is the client ... adjust accordingly