delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Date: | Fri, 5 May 2000 14:59:24 +0100 |
Message-ID: | <9602-Fri05May2000145924+0100-starksb@ebi.ac.uk> |
X-Mailer: | emacs 20.5.1 (via feedmail 9-beta-7 I); |
VM 6.75 under Emacs 20.5.1 | |
From: | David Starks-Browning <starksb AT ebi DOT ac DOT uk> |
MIME-Version: | 1.0 |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | sshd1 spins with defunct shell (Was: ncftp 3.0.1/gcc - runs fine under NT4, hangs under 95. Also, sshd problems) |
In-Reply-To: | <532-Thu04May2000142553+0100-starksb@ebi.ac.uk> |
References: | <956934937 DOT 6327 DOT ezmlm AT sourceware DOT cygnus DOT com> |
<001301bfb458$812c9e90$524b2080 AT berkeley DOT edu> | |
<532-Thu04May2000142553+0100-starksb AT ebi DOT ac DOT uk> |
On Thursday 4 May 00, David Starks-Browning writes: > ... > I'm using ssh-1.2.27 binaries as provided by Sergey Okhapkin, with > Cygwin-1.1.0 (full install of latest), on NT 4.0 Workstation (SP5). > > After logging in with ssh, then exiting that shell, 'ps -elf' shows > something like this: > > PID PPID PGID WINPID UID TTY STIME COMMAND > 1030 1002 1002 273 500 -1 13:45:37 /usr/local/sbin/sshd1.exe > 1032 1030 1032 281 1024 5 13:45:41 <defunct> > 1000 1000 1000 97 500 0 11:39:07 /usr/local/sbin/inetd.exe > 1002 1 1002 130 500 -1 11:39:09 /usr/local/sbin/sshd1.exe > > The <defunct> pid 1032 had been /usr/bin/bash.exe. The parent > sshd1.exe (pid 1030) is now spinning. Thanks to Prentis Brooks, I have this working well now. The trick was to run sshd from inetd. Something like this in inetd.conf: sshd stream tcp nowait root /usr/local/sbin/sshd sshd -i and a new entry in C:\WINNT\System32\drivers\etc\SERVICES: sshd 22/tcp Hope this information is useful to someone. Thanks again to Prentis for providing this tip. Best regards, David -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |