On Sat, 10 Feb 2001, Tal Dayan wrote:
>We have a backup script (on Linux  x86 6.0) that retrieves the list of
>modules (the '[name'] things defined in rsyncd.conf) of a remote server and
>than sync it in. This is done using the command:
>
>rsync --rsh=/usr/bin/rsh --recursive --times myserver.com::
>
>This lists the modules, one per line in the form '<module_name>
><module_description>'
>
>Now we are trying to switch to a secure connection over ssh using the
>command:
>
>rsync -e ssh --recursive --times myserver.com:
>
>this however gives a long list of the files on the remote server rather then
>the list of modules. I find it strange since all we change is the transport.
>
>How can we get the list of modules over a secure connection ?

Modules aren't used when you use rsync over ssh. You might try forwarding port
873 (the rsync port) over ssh from some unused local port and using the --port
option to rsync to that port on localhost.

phma

Reply via email to