delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <11dc01c29b78$3bfe2f50$1100a8c0@david1700> |
From: | "David Brown" <david_brown AT hotpop DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Problems using sshd as a service |
Date: | Wed, 4 Dec 2002 10:33:41 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
X-HotPOP: | ----------------------------------------------- |
Sent By HotPOP.com FREE Email | |
Get your FREE POP email at www.HotPOP.com | |
----------------------------------------------- |
I am trying to get sshd to run as a service on my W2K SP2 machine. I have got sshd set up properly (as far as I know), with all the keys and files it needs. If I start a cygwin bash shell and type "/usr/sbin/sshd", then the server starts fine and issues no errors or warnings. From another PC on the network, I can ssh in to this PC. In other words, sshd is working perfectly. However, when I install it as a service with cygrunsrv -I sshd -p /usr/sbin/sshd and then try to start the service, either with cygrunsrv or from the Control Panel, I get: cygrunsrv -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. Looking with taskmanager, however, I see that sshd has been started fine - I have no problem logging into it. So the sshd server has been started, even though Windows does not know it. This leads to complaints during startup, and I can't use "net start" and "net stop" but must kill sshd manually if needed. Cygwin1.dll version 1.3.12 of 06/07/2002. Any ideas would be much appreciated. David Norway. "I love deadlines. I love the whooshing noise they make as they go past." Douglas Adams -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |