Quoting Matt McCutchen <[EMAIL PROTECTED]>:
> The trouble is that rsync parses the "-e" command into arguments, and it
> just splits at every whitespace character without regard for the inner
> quotes.  Maybe rsync should really be calling on a shell to parse the
> command.
> 
> I can think of two ways to work around this:
> 
> (1) Put the ProxyCommand option in your ~/.ssh/config so that SSH will
> use it automatically whenever you connect to targetcomputer.domain .
> 
> (2) If you don't want that, write a shell script like this:
>                 #!/bin/bash
>                 ssh -o "ProxyCommand corkscrew myhttpProxy 8080
> targetcomputer.domain 22" "$@"
> and supply the name of this shell script as the "-e" command.

Thanks Matt, the shell script indeed solves the problem.

Peter
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to