<div class="gmail_quote">On Wed, Apr 13, 2011 at 4:09 PM, Glenn Eychaner <span dir="ltr"><<a href="mailto:geychaner@mac.com">geychaner@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
"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."<br></blockquote><div><br>
</div><div>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).</div>
</div><div><br></div>..wayne..<br>