>1) I have this running fine from a script by setting up a module
>on the rsync server called "local." No password is required,
>so is this or is this not running through ssh? I need to know
>if stuff is encrypted or not as it is moved over the net. Can
>someone explain exactly what this statement does?
>
>/usr/bin/rsync --rsh $SSHPATH -arzvu hostname::local /usr/local/
The --rsh option is ignored if you are using modules. (Type "--rsh saotehu" to
prove this.) You can put a password on a module by specifying a secrets file in
/etc/rsyncd.conf . See man rsyncd.conf for details. Stuff is not encrypted on
the net this way, but the password is.
>2) I would like to copy files from a local machine to a remote
>rsync or not rsync server (whichever is easier or more secure
>way to do it), again from the docs I can't figure this out....
>In order for me to move stuff to the remote machine I have
>to use ssh (policy around here), but it asks me for my
>password. I realize I can set the RSYNC_PASSWORD variable
>or use a file to get around this, but am curious if there
>is another way around this or a better way. I am trying to
>copy people's /home directory from their local machine to
>a RAID array on another machine. Any thoughts or suggestions?
If you want to use ssh, put a single colon in the remote path, and use the
actual directory, not a module. The RSYNC_PASSWORD will then be irrelevant.
phma