rsync hanging at "generate_files phase=1"

Giuliano Gavazzi dev+lists at
Fri Mar 21 12:53:11 GMT 2008

On 21 Mar, 2008, at 11:45 , Daniel Maher wrote:
> --rsync-path="/usr/bin/sudo /usr/bin/rsync"
> --log-file=/opt/rsync-backup/rsync-backup.log
> --backup-dir=/opt/rsync-backup/ -e
> "/usr/bin/ssh -i /home/rsync-backup/.ssh/id_rsa"
> rsync-backup at"/cygdrive/d/BACKUP" /opt/rsync-backup/ 

interesting. So presumably you give rsync-backup the option to run  
only rsync without a password. Double security. ssh key for logging in  
as rsync-backup and sudo restriction in place. Correct? Of course one  
that gets hold of the key, could run rsync as root, overwrite rsync  
and then rerun that rsync to do what he pleases.

I wonder though if you really have to specity the ssh. ssh should be  
by default and the key is the default key. Well, this protects you  
from changes in either rsync defaults or ssh global configuration.

I Wonder too if you will get one or two, given the recent  
discussion... should be one, if the list software looks at the To:.


More information about the rsync mailing list