On Apr 15, 2011, at 12:10 PM, Wayne Davison wrote: > On Wed, Apr 13, 2011 at 4:09 PM, Glenn Eychaner <geycha...@mac.com> wrote: > "Rsync supports connecting to a host using a remote shell and then spawning a > single-use "daemon" server that expects to read its config file in the home > dir of the remote user." > > You should read the manpage section "USING RSYNC-DAEMON FEATURES VIA A > REMOTE-SHELL CONNECTION". It shows you how to combine the daemon-accessing > syntax (which it sounds like you aren't using) with the -e (--rsh) option to > achieve an ssh daemon connection. If you want to force this for all ssh > access to that user, you need to look into using ssh forced commands (where > you either force the command "rsync --server --daemon .", or you force a > script that checks the $SSH_ORIGINAL_COMMAND and outputs an error if it is > not that). See also the rrsync script in the support directory that offers a > non-daemon way to force an incoming rsync into read-only mode (using a forced > "rrsync" command).
You're absolutely right; my quote in my original post came from that part of the documentation, but I completely misunderstood it; I was trying to use daemon features with a standard server connection. I'm going to give it another try and see if I can get my idea to work properly. Thanks for pointing out that I'm an idiot (seriously!), -G. > -- Glenn Eychaner (geycha...@lco.cl) Telescope Systems Programmer, Las Campanas Observatory
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html