The GPFS attribute patch and sandboxing rsync when running in --server mode

Nick Cleaton nick at cleaton.net
Thu May 20 06:00:00 UTC 2021


On Wed, 19 May 2021 at 20:34, Christopher O Cowan
<Christopher.O.Cowan at 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



More information about the rsync mailing list