Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; 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