Re: Rsync, SSH and authorized_keys problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

On Tue, Jun 16, 2009 at 17:10, Filipe Brandenburger<filbranden@xxxxxxxxx> wrote:
> On Tue, Jun 16, 2009 at 16:59, Stewart Williams<lists@xxxxxxxxxxxxxxxx> wrote:
>> command="rsync -avz -e "ssh -i ~/.ssh/backup-key" /backup
>> stewart@xxxxxxxxxxxxxxxxxxxxx:/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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux