Re: rsync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Gabriel Rosca wrote:

> Try this ... On your script ...
> 
> /usr/bin/rsync -avzh  -e "ssh -i /home/user/.ssh/auth-key"
> chloe@remotehost:/var/www/html /backup/html

You are correct about the -i switch.

Another possibility coming to me mind (if the machine the 
cronjob is running is not the local machine but remote per ssh): maybe 
chloe K is using Authentication forwarding (see the -A -a switches to 
ssh). If so, maybe the private key is only existing on the local 
machine but not on the machine the cronjob is running.

-- 
best regards,
markus

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux