cygrunsrv -S sshd fails not started

gga ggarra@advancedsl.com.ar
Fri Jun 22 02:58:00 GMT 2007


KAYVEN RIESE wrote:
> On Thu, 21 Jun 2007, KAYVEN  RIESE wrote:
> 
>>
>> kayve@kayve-PC ~
>> $ cygrunsrv -S sshd
>> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error
>> 1062:
>> The service has not been started.
>>

Check /var/log/sshd.log.  There's probably more info why it failed there.

You can also try starting the daemon manually for testing, as an
administrator like (this will output more verbose info to the console):
   > /usr/sbin/sshd -d -d -d -D

A common cause for that query problem is one of your config files having
a wrong configuration, for example.

P.S.  Installing openssh on cygwin has been nothing but a huge pain for
me, as the docs are mostly worthless.

-- 
Gonzalo Garramuño
ggarra@advancedsl.com.ar

AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy

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



More information about the Cygwin mailing list