delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/14/04:37:07

From: jj AT digisle DOT net (JJ Streicher-Bremer)
Subject: Re: nt sshd probs
14 Nov 1998 04:37:07 -0800 :
Message-ID: <364C6E27.3A982607.cygnus.gnu-win32@digisle.net>
References: <19981112195501 DOT 23932 DOT qmail AT findmail DOT com>
Mime-Version: 1.0
To: dave safian <dsafian AT uoft02 DOT utoledo DOT edu>
Cc: gnu-win32 AT cygnus DOT com

I ran into this problem when I set up sshd myself.  I don't recall
exactly what it was that caused it, but check these things

Path must include the sshd1.exe and the shell
set CYGWIN=  tty (or CYGWIN=tty depending on the patch level of
cygwin1.dll)
Make sure your mount points are correct

I actually have sshd set up as a service and that runs quite well.  To
make it easy for me to change the startup env I have the service start a
batch file that in turn starts sshd. Here it is.

set CYGWIN=tty binmode title strip_title glob
path = d:\apps\unix\usr\bin;d:\apps\usr\local\bin;d:\apps\usr\local\sbin
del d:\apps\unix\var\run\utmp
touch d:\apps\unix\var\run\utmp
start d:\apps\unix\usr\local\sbin\sshd1.exe

I hope this helps.

JJ


dave safian wrote:
> 
> When running the nt port of sshd, I get the following error shortly after authentication
> 
> log: Password authentication for dsafian acepted
> debug: Allocating pty.
> debug: Forking Shell
> debug  Entering interactive session.
> error: Failed to disconnect from controlling pty
> 
> I'm using 20b and sshd 1-2-26 on NT4.0 using SP4.
> Any idea what I could do to fix this?
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019