rsync, ssh and DSA key

khabot khabot at ced.finances.gov.ma
Thu Apr 6 10:16:41 GMT 2006


Thanks for your response
I have done this, but I execute
> > rsync -avz -e ssh root at 10.78.0.107:/var/mail/ /var/mail
It still askin me for the root password in 10.78.0.117 and for the
passphrase i, 10.78.0.107
thank you to help

On Wed, 2006-04-05 at 20:23, Bob Hutchinson wrote:
> 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