This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [P] lftp does not close ssh connections- ssh remain in memory


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]