Filipe Brandenburger wrote:
Hi,
On Tue, Jun 16, 2009 at 17:10, Filipe Brandenburgerfilbranden@gmail.com wrote:
On Tue, Jun 16, 2009 at 16:59, Stewart Williamslists@pinkyboots.co.uk wrote:
command="rsync -avz -e "ssh -i ~/.ssh/backup-key" /backup stewart@name.of.remote.server:/backup" ssh-dss ... key ...
You actually have to include the command that rsync will call on the server side, not the command you use to call rsync on the client side...
If you add "-v" to the SSH command line on the client:
$ rsync -avz -e "ssh -v -i ..."
It will print something like this:
debug1: Sending command: rsync --server -vlogDtprze.is . /backup
That is the exact string you should add to command="" on the authorized_keys file on the other end.
HTH, Filipe
Thank you Filipe, I will try this and let you know if it works.