refuse option = e

Alexey Vlasov renton at
Mon Aug 4 18:02:31 GMT 2008


Upgrading 2.6 to 3 version in rsync daemon changed the "refuse option"

pid file = /var/run/
use chroot = yes
read only = yes
secrets file = /etc/rsyncd.secrets
    path = /common/
    hosts allow =
    auth users = rsync_common
    refuse options = e
    uid = 0
    gid = 0

$ rsync -v -a -u -z -S --delete-during --delete-excluded
rsync://rsync_common@MYHOST/common/ /localcommon/
receiving incremental file list
rsync: The server is configured to refuse --rsh (-e)
rsync error: requested action not supported (code 4) at
clientserver.c(842) [sender=3.0.2]
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(794)

Though it is written in MAN, that:
Using rsync in this way is the same as using it with a remote shell
except that:
o      you must not specify the --rsh (-e) option.

BRGDS. Alexey Vlasov.

More information about the rsync mailing list