Hi everyone, I set up my hosts to contain a authorized_keys file, that calls rsync via sudo when I log into the machine with a special ssh key:
no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command="sudo /usr/bin/rsync --server --sender -vlHogDtpre.iLsf --numeric-ids . /" ecdsa-sha2-nistp521 AAAAE... In my dirvish master.conf I set rsh to use this special key rsh: ssh -i /path/to/special/ssh/key This works like a charm, but recently I found that the command that dirvish wants to run on the remote machine is not longer the one given above, but rather contains this: ... -vlHogDtpre.iLsC ... instead of ... -vlHogDtpre.iLsf ... From the rsync manpage: -C, --cvs-exclude auto-ignore files in the same way CVS does -f, --filter=RULE add a file-filtering RULE As my backups seem to work even if the command with -f is called from ssh forced commands although rsync expects the one with -C, I think this might be a minor issue. But I wanted to know what makes dirvish use one or the other command. Does anyone know that? Thanks in advance. Johannes
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
