Re: HELP with sshd on cygwin

From: Wilfried (nospam_at_fz-juelich.de)
Date: 06/27/03

  • Next message: jon: "Re: Public Key Authentication"
    Date: Fri, 27 Jun 2003 10:18:18 +0200
    
    

    kgeorge@blore.tcs.co.in (George) wrote:

    > You can try this , don't ask me too many questions as i am a newbie
    > just re install sshd and run ssh-host-config -y
    > now try cygrunsrv -S sshd. It should sort out your problem.
    > More details can be had at http://tech.erdelynet.com/cygwin.html

    I followed your advice and found it very helpful. However (on
    WinXPProSP1) I needed another command which is not mentioned on the
    webpage http://tech.erdelynet.com/cygwin-sshd.html :
    I must issue
    cygrunsrv -I sshd -p /usr/sbin/sshd
    before the command (item 8)
    cygrunsrv -S sshd

    Hope that helps

    > Beau <maddbeauman@yahoo.com> wrote in message news:<renscvoq74n4mbqrl5odkpnej7taepo662@4ax.com>...
    > > 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.

    -- 
    Wilfried
    email me: change "nospam" to "w.hennings"
    

  • Next message: jon: "Re: Public Key Authentication"

    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)
    • HELP with sshd on cygwin
      ... Installed Cygwin on XP pro wiht sshd. ... cygrunsrv: Error starting a service: QueryServiceSTatus: Win32 error ... The local computer may not have the necessary registry information or ... message DLL files to display messages from a remote computer. ...
      (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)