rsync, ssh and DSA key

Bob Hutchinson hutchlists at midwales.com
Wed Apr 5 20:23:33 GMT 2006


On Wednesday 05 Apr 2006 16:41, khabot wrote:
> hi all
> I have generated the key in the source server(10.78.0.107)
> ssh-keygen -t dsa -C "root at 10.78.0.107"
> I have added this key to authorized_keys2 of the destination
> server(10.78.0.117)
> cat id_dsa.pub >> /root/.ssh/authorized_keys2

check in /etc/ssh/sshd_config, what is
AuthorizedKeysFile 
set to?

Also set authorized_keys chmod 600

> but when I execute
> rsync -avz -e ssh root at 10.78.0.107:/var/mail/ /var/mail
> in the destination server I asck me for the password
> How to avoid this in order to automate this script.
> Thanks.

-- 
-----------------
Bob Hutchinson
Midwales dot com
-----------------


More information about the rsync mailing list