HELP with sshd on cygwin

From: Beau (maddbeauman_at_yahoo.com)
Date: 05/23/03


Date: Fri, 23 May 2003 12:51:42 -0500

Installed Cygwin on XP pro wiht sshd. sshd will start manually using
/etc/rc.d/init.d/sshd star or /usr/sbin/sshd.exe, but will not start
automatically as service. I run:
 cygrunsrv -I sshd -p /usr/sbin/sshd.exe

when I try to start it using:

cygrunsrv -S sshd
cygrunsrv: Error starting a service: QueryServiceSTatus: Win32 error
1062:
The service has not been started.

The Event viewer gives me:

The description for Event ID ( 0 ) in Source ( sshd ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may
be able to use the /AUXSOURCE= flag to retrieve this description; see
Help and Support for details. The following information is part of the
event: sshd : PID 2672 : starting service `sshd' failed: execv: 255,
error 255

I tried to fix the paths in registry...didn't help.

Please any info or help I would really appreciate it.

Thanks,
Beau



Relevant Pages

  • Re: OpenSSH for Windows - sshd logs
    ... the cygrunsrv service, and amongst them are the parameters to pass to ... Carlos N wrote: ... I noticed that sshd ...
    (comp.security.ssh)
  • Re: cannot start sshd on cygwin- win xp
    ... I have since reinstalled cygwin, ... I found that the strace command, started sshd and sort of occupied ... cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error ...
    (comp.security.ssh)
  • Cygwin sshd starts but not listening
    ... I've got a box that starts it's Cygwin service, ... Service sshd exists ... Connecting to localhost port 22. ... The "cygrunsrv -E sshd" command won't stop the service either?! ...
    (comp.security.ssh)
  • Re: HELP with sshd on cygwin
    ... just re install sshd and run ssh-host-config -y ... now try cygrunsrv -S sshd. ... > message DLL files to display messages from a remote computer. ...
    (comp.security.ssh)
  • Re: HELP with sshd on cygwin
    ... > now try cygrunsrv -S sshd. ... WinXPProSP1) I needed another command which is not mentioned on the ...
    (comp.security.ssh)