delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/17/19:31:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 17 Sep 2007 16:30:27 -0700
From: David Rothenberger <daveroth AT acm DOT org>
Subject: Re: ssh ProxyCommand not finding anything to execute
In-reply-to: <12742301.post@talk.nabble.com>
To: cygwin AT cygwin DOT com
Message-id: <46EF0E13.9020805@acm.org>
MIME-version: 1.0
References: <12742301 DOT post AT talk DOT nabble DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

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.

You really should raise this with the cwRsync developers.

-- 
David Rothenberger  ----  daveroth AT acm DOT org

Duty, n:
         What one expects from others.
                 -- Oscar Wilde


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