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; Peter van der Meer wrote: > The ProxyCommand option in ssh usually contains space-characters, so it > would not ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-22-2005
Manuel López-Ibáñez
 
Posts: n/a
Default Re: "-signs in rsync as well as in embedded ssh command



Peter van der Meer wrote:
> The ProxyCommand option in ssh usually contains space-characters, so it
> would not work in your example.
> Interpretation by a shell would solve this, but there are other possible
> sollutions as well.
>

True! You are right!

> If rsync would give this command to another shell, then this shell would
> call ssh with parameters:
> 1 -o
> 2 ProxyCommand corkscrew myhttpProxy
> 3+ parameters from rsync to ssh (like hostname)
>
> This should work.
>
> But rsync will split the ssh command on spaces and call ssh with
> parameters:
> 1 -o
> 2 "ProxyCommand
> 3 corkscrew
> 4 myhttpProxy"
> 5+ parameters from rsync to ssh (like hostname)
>
> This could not work, because ssh cannot understand the -o option.


Nice explanation. I think you are absolutely right. The conclusion is
that -e should evaluate its argument in a shell. Does everybody else
agree with this? It would be nice to hear some counter-arguments.
Otherwise, should I fill a bug report/feature request?

Cheers,

Manuel.






______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
--
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 05:56 AM.


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