James G. Sack (jim) wrote:
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.
Can someone comfirm this: I always used to put "-e ssh" in the command
line, but it seems unnecessary -- I guess rsync defaults (or
falls-back?) to using ssh.
The default for rsync has been to use ssh for..."a while now".
If it fails to find ssh, it will look for an rsync daemon in the proper
places.
I didn't notice until someone else caught me using -e.
-ajb
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list