Gregory K. Ruiz-Ade wrote: > On Jul 31, 2007, at 2:50 PM, James G. Sack (jim) wrote: > >> From a >> simple test I have just done, it appears that rsync does NOT use daemon >> mode when using ssh transport, so my guess is that rsyncd.conf has no >> effect (assuming -essh). > > This is not entirely correct. When using rsync via SSH, you actually > instantiate a single rsync server process that's bound to the I/O of the > SSH connection. To demonstrate, start an rsync that will take a while, > then log in to the remote server and look at the rsync process, > specifically its full command line. You'll see something like: > > rsync --server --sender -vlogDtpr <blah> <blah> > > So, in theory, the config file would still take effect. >
Well could be, but it's not clear to me from the docs whether the --server option uses the config file or if (only) the --daemon option does. Hmmm, I'll have to retest over a real wire. I was using localhost. BTW, the simple test had an /etc/rsyncd.conf containing just log file = /tmp/rsyncd-trial.log Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
