Hello All
Can anyone help here?
I have two sme boxes here a 4.1.2 box and a 5.1.2 box both in a test enviroment coping a customer setup. He wants to use Rsync to sync both server together.
I have asked this before and done quite a bit of searching but i am still having this problem three months down the line.
I need to be able to ssh to the 5.1.2 box without being prompted by a password.
Below is how i have tried to do it.
=========================
ssh-keygen -t dsa (accepted default user and no password)
cp ~/.ssh/id_dsa.pub ~/.ssh/authorized_keys
scp ~/.ssh/id_dsa.pub asergent@172.31.4.2:~/.ssh/authorized_keys2
(asergent@172.31.4.2 password)
chmod 0700 ~/.ssh/authorized_keys
(now do the same on the receiving machine)
ssh asergent@172.31.4.2 ~/.ssh/authorized_keys2
(asergent@172.31.4.2 password)
rm ~/.ssh/id_dsa ~/.ssh/id_dsa.pub
I then try to login to asergent@172.31.4.2 but still prompts me with a password.
I need to get in without putting a password in. Does this need to be run from both ends?
Above commands taken from following site:
http://slowest.net/docs/howtos/ssh/ssh-auto-login.htmlI really could do with some help here.
Kindest Regards
Adserg