On Fri, May 30, 2008 at 12:42:48PM -0700, N?stor wrote:
> When running the rsync command to copy files from one host to another how do
> I pass teh password?
>
> This is my command:
> rsync -avz  host1:/home/www/ /home/www
>
> It always as for the password and I want to set it up to run as a cron job.

You really want to learn about ssh-agent.  Then perhaps set up a password less
RSA for root.

Chris


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to