This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
sshd1 spins with defunct shell (Was: ncftp 3.0.1/gcc - runs fine under NT4, hangs under 95. Also, sshd problems)
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@sourceware.cygnus.com