delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/15/20:21:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "John Pollock" <jpollock AT curl DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: OpenSSH Strangeness on Windows 2000
Date: Wed, 15 Nov 2000 20:20:05 -0500
Message-ID: <NEBBJPGNBOKKDAEIIMIKMELFCCAA.jpollock@curl.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Importance: Normal

>sshd.exe seems to start ok if I invoke it as a console application.   As a
>service it seems to launch and then exit without any sign of an error.
I've
>tried having it run under LocalSystem (SYSTEM) and under a user with the
>proper rights established with no change in behavior.    Nothing else is
>listening on the port.

FWIW, i've been using the cygwin OpenSSH under Windows 2000 happily for a
while now.  I had no end of trouble getting previous versions of sshd to
work on Win2k, and sometimes would see behavior like the kind you're
describing.

One thing you might want to try is putting the call to sshd within a batch
file and having the service invoke that instead of invoking the app
directly.  Sometimes it makes a difference.  To do this, you can use instsrv
and srvany in conjunction, and install by doing "instsrv OpenSSHD
c:\srvany.exe" (srvany.exe has to be at the root, or c:\, for this to work;
both instsrv and srvany come from the reskit)  Check out the registry stuff
below:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\opensshd]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):63,3a,5c,73,72,76,61,6e,79,2e,65,78,65,00
"DisplayName"="opensshd"
"ObjectName"="CURL\\curlbot"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\opensshd\Parameters]
"Application"="c:\\winnt\\system32\\cmd /c"
"AppParameters"="c:\\cygwin\\usr\\local\\etc\\cygwin-sshd.bat"



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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