Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42F17BAF.9050501@yahoo.com> Date: Wed, 03 Aug 2005 22:21:35 -0400 From: Manuel Soto Reply-To: cygwin AT cygwin DOT com User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [P] lftp does not close ssh connections- ssh remain in memory References: <20050801215400 DOT 21649 DOT qmail AT web30302 DOT mail DOT mud DOT yahoo DOT com> In-Reply-To: <20050801215400.21649.qmail@web30302.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Manuel Soto wrote: >lftp does close ssh session on "close" command but ssh >remain running after close and quiting from lftp. I'm >using fish:// protocol > >DOS windows remain open if lftp is execute from >Windows commandline. > > > >============= >Environment: >uname -a >CYGWIN_NT-5.0 dt05 1.5.18(0.132/4/2) 2005-07-02 20:30 >i686 unknown unknown Cygwin >$lftp -version >Lftp | Version 2.6.10 >$ ssh -version >OpenSSH_4.1p1, OpenSSL 0.9.8 05 Jul 2005 > >Microsoft Windows 2000 [Version 5.00.2195] > >--- after quiting from lftp >$ ps > PID PPID PGID WINPID TTY UID >STIME COMMAND > 1320 1 1320 1320 con 500 >17:15:50 /usr/bin/bash >I 2416 1 2416 1708 0 500 >17:58:39 /usr/bin/ssh > 716 1320 716 1900 con 500 >17:58:46 /usr/bin/ps > > > > The problem exists because the lftp version included in cygwin is too old. After compiling and installing the current stable lftp (3.2.1 at this time) all problems disappear and sftp is supported. 2 changes are required in include/config.h: //#define HAVE_TGETSTR 1 // comment the definition or undef #define HAVE_DECL_RANDOM 1 -- 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/