On Wed, 19 May 2021 at 20:34, Christopher O Cowan
<christopher.o.co...@ibm.com> wrote:
>
> So, I'm wondering if you or anyone else knows a way to force rsync into 
> --daemon mode from the server side?
> Unless I'm wrong, I probably still need one of the shims I mentioned.
>
> Perhaps I could do the poor man's by writing a wrapper script (or even 
> executable) to basically add the re-exec the command and adding the --daemon 
> option.
>
> Unless there's some way to do this via sshd_config that I am unaware of?

command="rsync --server --daemon --config /path/to/some/rsyncd.conf ."

in the options section at the start of the authorized_keys line that
allows the client to connect

-- 
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

Reply via email to