| 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://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| To: | cygwin AT cygwin DOT com |
| From: | Torsten Bronger <bronger AT physik DOT rwth-aachen DOT de> |
| Subject: | sshd wouldn't start as a Windows service |
| Date: | Mon, 25 Jul 2005 21:56:43 +0200 |
| Lines: | 34 |
| Message-ID: | <87zmsafymc.fsf@wilson.rwth-aachen.de> |
| Mime-Version: | 1.0 |
| X-PGP-Fingerprint: | C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77 |
| X-PGP-Affinity: | will accept encrypted message for GPG |
| X-Home-Page: | http://www.wikipedia.org/wiki/User:Bronger |
| X-Binford: | 6100 (more power) |
| Mail-Copies-To: | never |
| User-Agent: | Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
| X-IsSubscribed: | yes |
Hallöchen!
I can start sshd directly with
/usr/sbin/sshd -D
which works fine. However, I want it to be a real service, so I
called
cygrunsrv -S sshd
This results in a Windows timeout error #1053:
$ cygrunsrv.exe -S sshd
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1053:
The service didn't reply in time to the start or control request.
What can I do about it?
This is what I had done:
I wiped out my old Cygwin installation in Win2k and installed the
latest version I could find. Included was OpenSSH_4.1p1.
From my old installation, there still is the global environment
variable CYGWIN="ntsec tty". I called ssh-host-config, but copied
my old config files over the new ones. I use the defaults but
disable root login and password authentication. All ssh-related
files in /etc/ have my (admin) account as owner, and their
priviledges are set correctly. Priviledge separation is off.
--
Torsten Bronger, aquisgrana, europa vetus
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |