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 "[EMAIL PROTECTED]"
> 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 [EMAIL PROTECTED]:/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
-----------------
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to