ssh catch 22

Wayne Davison wayned at samba.org
Tue Nov 14 00:20:30 GMT 2006


On Tue, Nov 07, 2006 at 07:19:31PM +0100, Ed wrote:
> b) in the certificate, I specified the command that could be run... the likes 
> of: "command="rsync -av ./source root at desthost:/destination" ssh-rsa"

It's completely invalid to specify a client command when expecting a
server command.  Just run rsync with 2 -v options to see the command it
it sending to the remote system, and will will tell you what command to
expect.  See also the support/rrsync script thta can be used as the
forced command=/path/rrsync script to limit the rsync command(s) that
you accept.

..wayne..


More information about the rsync mailing list