Re: "-signs in rsync as well as in embedded ssh command

This is a discussion on Re: "-signs in rsync as well as in embedded ssh command within the Rsync forums, part of the Networking and Network Related category; Quoting Matt McCutchen <hashproduct@verizon.net>: > The trouble is that rsync parses the "-e" command ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-21-2005
Peter van der Meer
 
Posts: n/a
Default Re: "-signs in rsync as well as in embedded ssh command

Quoting Matt McCutchen <hashproduct@verizon.net>:
> 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 With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:40 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0