delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/16/20:53:18

X-Spam-Check-By: sourceware.org
Message-ID: <4750-32499@sneakemail.com>
Date: Sat, 17 Feb 2007 02:52:49 +0100
From: "Michael" <bgn7a3m02 AT sneakemail DOT com>
To: cygwin AT cygwin DOT com
Subject: problem installing cygwin+sshd
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l1H1r7QU020481

Hello,

I'm trying to install cygwin+sshd on a WinXPPro-machine, but get an
error, when starting the service.
It would be great, if someone is able to help me find a hint for a
solution for this problem!

Here a summary what I did:
- logged in with domain-user with local admin privileges
- installed cygwin
- - to c:\cygwin
- - for all users
- - with packages openssh v4.5p1-1, tcp_wrappers v7.6-1
- added env-var CYGWIN and added cygwin-dir to PATH
- started cygwin and "ssh-host-config"
- - privilege separation -> yes
- - create local user sshd -> yes
- - install sshd as a service -> yes
- net start sshd
=>

--cut--
$ net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.
--cut--

- cygrunsrv --start sshd
=>

--cut--
$ cygrunsrv --start sshd
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.
--cut--


other infos:
###
eventvwr:
--cut--
Die Beschreibung der Ereigniskennung ( 0 ) in ( sshd ) wurde nicht
gefunden. Der lokale Computer verfügt nicht über die zum Anzeigen der
Meldungen von einem Remotecomputer erforderlichen
Registrierungsinformationen oder DLL-Meldungsdateien. Möglicherweise
müssen Sie das Flag /AUXSOURCE= zum Ermitteln der Beschreibung
verwenden. Weitere Informationen stehen in Hilfe und Support.
Ereignisinformationen: sshd: PID 3940: `sshd' service stopped, exit
status: 255.
--cut--
###
no /var/log/ssh* files (???)
###
file-permissions in /etc:
ls -l /etc/ssh*
-rwxr-x--- 1 SYSTEM mkgroup-l-d 1418 Feb 15 03:02 ssh_config
-rw------- 1 SYSTEM mkgroup-l-d  672 Feb 15 03:02 ssh_host_dsa_key
-rw-r--r-- 1 SYSTEM mkgroup-l-d  611 Feb 15 03:02 ssh_host_dsa_key.pub
-rw------- 1 SYSTEM mkgroup-l-d  984 Feb 15 03:02 ssh_host_key
-rw-r--r-- 1 SYSTEM mkgroup-l-d  648 Feb 15 03:02 ssh_host_key.pub
-rw------- 1 SYSTEM mkgroup-l-d 1675 Feb 15 03:02 ssh_host_rsa_key
-rw-r--r-- 1 SYSTEM mkgroup-l-d  403 Feb 15 03:02 ssh_host_rsa_key.pub
-rw-r--r-- 1 SYSTEM mkgroup-l-d 3039 Feb 15 03:02 sshd_config
###
I also changed the dir-permissions of c:\cygwin, c:\cygwin\var and
c:\cygwin\var\log for "user" SYSTEM manually
###

what else can I check???

any ideas?

thank you very much for any help!
br
mik

--
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/


- Raw text -


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