Take2: rsync over ssh with --link-dest

Matt McCutchen matt at mattmccutchen.net
Wed Nov 4 19:31:31 MST 2009

On Wed, 2009-11-04 at 20:13 -0500, Alex wrote:
> In my ~/.ssh/authorized_keys file I have the key, with the leading command:
> command="/usr/bin/rsync --server --sender -vnlogDtprze.is .
> /backup/servers/serverA/cdrive/"

Overriding the server command line is generally a bad idea for the
reasons you went on to note.  Instead, use an rsync daemon.  You can
even have the daemon invoked over ssh with a forced command, see:



More information about the rsync mailing list