delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/29/04:35:15

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
Message-ID: <415A73B6.2030306@swipnet.se>
Date: Wed, 29 Sep 2004 10:35:02 +0200
From: a12 <a12 AT swipnet DOT se>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ssh-host-config requires cygminires.dll
References: <415975F6 DOT 5030403 AT swipnet DOT se> <Pine DOT GSO DOT 4 DOT 61 DOT 0409281059050 DOT 4120 AT slinky DOT cs DOT nyu DOT edu> <415983C7 DOT 9010101 AT swipnet DOT se> <Pine DOT GSO DOT 4 DOT 61 DOT 0409281328350 DOT 4220 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.61.0409281328350.4220@slinky.cs.nyu.edu>
X-imss-version: 2.7
X-imss-result: Passed
X-imss-scores: Clean:99.90000 C:21 M:0 S:5 R:5
X-imss-settings: Baseline:2 C:1 M:2 S:1 R:1 (0.1500 0.1500)
X-IsSubscribed: yes

Hello again,

Following your hint, I checked /usr/share/doc/Cygwin/openssh.README, and 
entered:

ssh-host-config -y
ssh-user-config -y
cygrunsrv -S sshd
yielded:
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
The service has not been started.

I have also tried:
cygrunsrv -S -D sshd
with the following response:
cygrunsrv: trailing commandline argument not allowed
and:
cygrunsrv -D -S sshd
cygrunsrv: unknown option -- D

Here are the contents of /var/log/sshd.log :
Could not load host key: /etc/ssh_host_key
Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.

Windows Applications Log contains the following entries:
Cannot find a description for event ID 0 in the source sshd. The local computer does not have necessary register information or message DLL files required to show messages from a remote computer. More information: sshd : PID 660 : starting service `sshd' failed: execv: 1, Operation not permitted.

Windows System Log contains the following entries:
The service CYGWIN sshd ended unexpectedly. It has done 1 time(s). The 
following action will be done in 0 milliseconds. No action.

 Any new hints ?

Igor Pechtchanski wrote:

>On Tue, 28 Sep 2004, a12 wrote:
>
>
>>Hello Igor,
>>
>>Pardon me for my ignorance about not ataching the cygcheck output.
>>
>>I have run Cygwin setup.exe once again, and fetched & installed minires and
>>the new versions of openssh/openssl.
>>The following ssh-host-config -y ended OK, so I tried to start the sshd
>>service:
>>cygrunsrv -S sshd
>>and got the same error as before:
>>cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
>>The service has not been started.
>>
>>Any hints ?
>>
>
>Yes, three:
>
>/usr/share/doc/Cygwin/openssh.README
>/var/log/sshd.log
>The Windows Event log
>
>One of the above should contain clues as to what went wrong.
>	Igor
>
>
>>Igor Pechtchanski wrote:
>>
>>
>>>On Tue, 28 Sep 2004, a12 wrote:
>>>
>>>
>>>
>>>>Hello Cygwin users,
>>>>
>>>>I have installed openssl and openssh. Host configuration with:
>>>>cd /bin
>>>>ssh-host-config -y
>>>>tells me about missing cygminires.dll
>>>>Thereafter the configuration continues:
>>>>[snip]
>>>>Host configuration finished. Have fun!
>>>>
>>>>Then I start the sshd service:
>>>>cygrunsrv -S sshd
>>>>which errors off with:
>>>>cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
>>>>The service has not been started.
>>>>
>>>>Where do I find cygminires.dll ?
>>>>
>>>>
>>>As always, the Cygwin package search page at <http://cygwin.com/packages>
>>>has the answer.  Install the "minires" package.
>>>
>>>However, you shouldn't have to, because openssh requires minires anyway.
>>>Did you, by chance, unselect it when you installed openssh via setup?  In
>>>general, it's a *bad* idea to unselect anything setup chooses to
>>>automatically install, unless you know exactly what you're doing.
>>>
>>>
>>>
>>>>How do I make cygrunsrv to start sshd correctly ?
>>>>
>>>>
>>>The two problems are most likely related.  Install "minires" and try
>>>again.
>>>
>>>
>>>
>>>>Belows follows output from 'cygcheck -svr':
>>>>
>>>>
>>>For the future, please include this output as an *attachment*, not inline
>>>as you did, as requested in <http://cygwin.com/problems.html>.
>>>	Igor
>>>
>


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