delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/01/15:50:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 1 Jun 2001 21:50:42 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Maintainer of OpenSSH
Message-ID: <20010601215042.E595@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20010531211346 DOT A28191 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 04 DOT 10106010834320 DOT 7209-100000 AT tin DOT cs DOT rit DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <Pine.GSO.4.04.10106010834320.7209-100000@tin.cs.rit.edu>; from jst3290@cs.rit.edu on Fri, Jun 01, 2001 at 09:27:19AM -0400

On Fri, Jun 01, 2001 at 09:27:19AM -0400, Joseph S. Testa wrote:
> 	Specifically, I was planning on only packaging sftp.exe &
> cygwin1.dll (don't cringe -- I know this sounds odd) with my project.
> This works because the sftp.exe that comes with the OpenSSH2.9p1-2 package
> seems to be self-sufficient.  Now that I need to recompile the client
> myself, I've noticed that after a connection to a host is made, it tries
> to exec '/usr/local/bin/ssh'. This fails, of course, because sftp.exe is
> being executed directly and not from a bash shell.

Huh? That has nothing to do with a missing bash.

> 	So, I was wondering how exactly the maintainer of OpenSSH compiled
> the package so as to create a self-sufficient executable.  Any help is
> greatly appreciated.

sftp isn't self-sufficient. It's an application on top of ssh.
It doesn't contain any code which maintains the secure connection.
That code is only in ssh and sshd.
You have to package at least sftp, ssh and the Cygwin DLL.

Anyway, the settings when compiling the current 2.9 package:

./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/sbin \
	    --with-pcre

Then change line 439 in defines.h to define USE_PIPES. The next
version of OpenSSH will do this by default for Cygwin.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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