This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: nt sshd probs


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@cygnus.com" with one line of text: "help".
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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