delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/19/11:03:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <12779359.post@talk.nabble.com>
Date: Wed, 19 Sep 2007 08:03:11 -0700 (PDT)
From: SQueeZe <kevin AT kevinandkiran DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ssh ProxyCommand not finding anything to execute
In-Reply-To: <46EF0E13.9020805@acm.org>
MIME-Version: 1.0
X-Nabble-From: kevin AT kevinandkiran DOT com
References: <12742301 DOT post AT talk DOT nabble DOT com> <46EF0E13 DOT 9020805 AT acm DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Lets say I just drop sh.exe into the installation folder, what else would I
need to do?

I have taken the sh.exe file from a cywgin install and put it into c:\bin\,
and tried running my command again.  Now it no longer complains that it
can't find /bin/sh but it still doesn't print anything to the screen like it
should.  Obviously putting it in c:\bin isn't ideal, I need to point it to
my cwRsync directory.

I have emailed the cwRsync guys the problem but I'm not sure if they will be
willing to include sh.exe in the next release or not.

Thanks for your help
Kevin


David Rothenberger wrote:
> 
> On 9/17/2007 11:38 AM, SQueeZe wrote:
>> I have installed cwRsync which has the OpenSSH client version 4.5.
> 
> You should probably ask for support from the cwRsync project.
> 
>  > I should be able to type in the following:
>> 
>> ssh -v -o ProxyCommand="connect -H -d proxy:8085 %h 443" user AT myhomepc
>> 
>> However I get the following error:
>> 
>> OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006
>> debug1: Executing proxy command: exec connect.exe -H proxy:8085 myhomepc
>> 443
>> debug1: permanently_drop_suid: 400
>> /bin/sh: No such file or directory
> 
> OpenSSH invokes "/bin/sh -c proxycmd" (see sshconnect.c line 98 in the 
> 4.7 sources) and the cwRsync package does not include sh. Even if you 
> included sh.exe in your installation directory, I doubt it would work 
> because you won't have the Cygwin mount table setup so that /bin/sh 
> would map to the correct directory.
> 
> 

-- 
View this message in context: http://www.nabble.com/ssh-ProxyCommand-not-finding-anything-to-execute-tf4469005.html#a12779359
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019