rsync, ssh and DSA key

Bob Hutchinson hutchlists at
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(
> ssh-keygen -t dsa -C "root at"
> I have added this key to authorized_keys2 of the destination
> server(
> cat >> /root/.ssh/authorized_keys2

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

Also set authorized_keys chmod 600

> but when I execute
> rsync -avz -e ssh root at /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