Rsync && ssh && passwordless
Wayne Davison
wayned at samba.org
Thu Oct 7 16:25:07 GMT 2004
On Thu, Oct 07, 2004 at 10:20:34AM -0600, Ryan Sommers wrote:
> Edited authorized_keys on M adding 'command="sudo /usr/local/bin/rsync
> --server --daemon ."'
You can't start an rsync daemon and then attempt to do a non-daemon
transfer. Get rid of the "command" setting above and tell rsync to
run the remote rsync command using sudo:
rsync -a --rsync-path='sudo rsync' NP at M:/path/to/stuff ./local/path
..wayne..
More information about the rsync
mailing list