Hi!

With dirvish version 1.2 and rsync  version 3.0.6  (protocol version 30)
on a box with debian squeeze, i get:


*** Execution cycle 0 ***

The --password-file option may only be used when accessing an rsync daemon.
rsync error: syntax or usage error (code 1) at main.c(1256) [receiver=3.0.6]



My config worked with an older version of either rsync or dirvish. Since
the last update, the above error appears. (I did not find out which
versions I had been using before.) I tunnel rsync-connections through
ssh, the important part of the default.conf looks like this:


pre-server: /sbin/start-stop-daemon --start -b -m --pidfile
/var/run/ssh-target.pid --exec /usr/bin/ssh -- -p1234 -N -L
6666:localhost:873 [email protected] -i /root/.ssh/some_id_rsa ; sleep 4
post-server: /sbin/start-stop-daemon --stop --quiet --pidfile
/var/run/ssh-target.pid

rsync-option:
        --password-file=/path/to/passwd-file
        --port=6666


I tried some diagnostics with tcpdump, but the client doesn't even try
to contact the daemon on lo:6666, it just fails.

Any ideas?

n.
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to