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

2005-10-22 Thread Manuel López-Ibáñez
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 sh

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

2005-10-22 Thread Peter van der Meer
Manuel López-Ibáñez wrote: Is it very complicated to use several -o before each option? If you try: rsync -e "ssh -o Port=22 -o ClearAllForwardings=yes -o ConnectTimeout=5 target" myfile :/remote/path/ It works perfectly!! However, is there any possible scenario where the argument of -e s

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

2005-10-21 Thread Manuel López-Ibáñez
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. Really? Does this mean that any option passed to ssh is interpreted by r

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

2005-10-21 Thread Paul Slootman
On Fri 21 Oct 2005, Matt McCutchen wrote: > > > > > > 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. > >

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

2005-10-21 Thread Matt McCutchen
On Fri, 2005-10-21 at 16:44 +0200, Paul Slootman wrote: > On Fri 21 Oct 2005, Matt McCutchen wrote: > > > > 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

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

2005-10-21 Thread Paul Slootman
On Fri 21 Oct 2005, Matt McCutchen wrote: > > 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. Would escaping the spa

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

2005-10-21 Thread Peter van der Meer
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

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

2005-10-21 Thread Peter van der Meer
Quoting Paul Slootman <[EMAIL PROTECTED]>: > On Fri 21 Oct 2005, Peter van der Meer wrote: > > Does anybody here has another suggestion? > > Yes: > >rsync -e "ssh -o 'ProxyCommand corkscrew myhttpProxy 8080 > targetcomputer.domain 22'" testfile.txt targetcomputer.domain:receive This also res

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

2005-10-21 Thread Matt McCutchen
On Fri, 2005-10-21 at 14:56 +0200, Peter van der Meer wrote: > Today I succesfully transfered some testfile on my local computer with the > following command: > rsync -e "ssh" testfile.txt localhost:receive > > I can also succesfully connect with SSH to a remote server through an http > proxy >

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

2005-10-21 Thread Paul Slootman
On Fri 21 Oct 2005, Peter van der Meer wrote: > Does anybody here has another suggestion? Yes: rsync -e "ssh -o 'ProxyCommand corkscrew myhttpProxy 8080 targetcomputer.domain 22'" testfile.txt targetcomputer.domain:receive Paul Slootman -- To unsubscribe or change options: https://lists.s

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

2005-10-21 Thread Peter van der Meer
Hello, Today I succesfully transfered some testfile on my local computer with the following command: rsync -e "ssh" testfile.txt localhost:receive I can also succesfully connect with SSH to a remote server through an http proxy with the following command: ssh -o "ProxyCommand corkscrew myhttpPr