On Mon, Jul 18, 2005 at 05:58:12PM +0200, Olivier Thauvin wrote: > Le Monday 18 July 2005 17:42, vous avez écrit : > > rsync -av --rsh="ssh -l sshuser" *.* [EMAIL PROTECTED]::module > > The syntax is wrong: > > - ssh -l is not need as rsync will use the user in the url:
Not when combined with :: syntax. The "user" in the above syntax is the daemon-protocol's user, not the ssh user, so if you need an alternate sshuser AND you want to start up a single-use daemon, you must use the -l option to ssh (as suggested in the rsync docs). Typically users don't want both a remote-shell transport and daemon-syntax, but some folks do. To the original poster: check the syslog for any messages about why the remote rsync-daemon exited. It may be that you don't have the rsyncd.conf file in the home dir of the sshuser (or at least a symlink in that homedir to the config file). ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
