Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <20020927030804.81552.qmail@web21411.mail.yahoo.com> Date: Thu, 26 Sep 2002 20:08:04 -0700 (PDT) From: lxl ch Subject: RE: Help me : "ssh localhost" fail To: Vince Hoffman , cygwin AT cygwin DOT com In-Reply-To: <3500515B75D9D311948800508BA3795595076D@EX-LONDON> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This time I run 'cygrunsrv -S sshd'. The error promption: cygrunsrv: error starting a service QueryServiceStatus: Win32 Error 1062: The service has not been started. And the log file:/var/log/sshd.log is empty. if I run 'net start sshd', the message is: The sshd service is starting. The sshd service could not be started. The service did not report an error. More help is availble by typing NET HELPMSG 3534 Then I type 'NET HELPMSG 3534', The service did not report an error. EXPLANATION The service did not report an error. ACTION Try the task later. If the problem persists, contact your network administrator. By the way, I am administrator of my computer. And I set up an OpenSSH using OpenSSH on Windows(v 3.4-3). It works. Thank you very much! Changbo --- Vince Hoffman wrote: > did you actualy start the service ? (try 'cygrunsrv > -S sshd' or if you > prefer 'net start sshd' ) > although it seems that you removed the service then > readded it, so first > re-remove it ('cygrunsrv -R sshd'), then re-run the > host config script > ('ssh-host-config -y' and answer as appropriate,) > just so the parameters to > the service are correct. > Then try and start the service. if that gives an > error then send the > contents of /var/log/sshd.log to the list and we'll > try and help again. > > -----Original Message----- > From: lxl ch [mailto:lxlch AT yahoo DOT com] > Sent: 26 September 2002 06:47 > To: cygwin AT cygwin DOT com > Subject: Help me : "ssh localhost" fail > > > hi, > > I followed every step in > http://tech.erdelynet.com/cygwin-sshd.html > to install cygwin. My OS is Win2K. > See the operation below.(my words is insede []) > [finnally.] > >ssh localhost > ssh:connect to address 127.0.0.1 port 22: connection > refused > > [Then, I tried to remove sshd and add again. ] > >cygrunsrv -R sshd > >pwd > /cygdrive/c/cywin > >cygrunsrv -I sshd --path ./usr/sbin/sshd.exe > >ssh-host-config -y > [. > ..] > [after inputting CYGWIN=ntsec tty] > cygrunsrv: Error installing a service: OpenService > :Win32 error 1073 > The specified service already exists. > > [But if I run the ssh localhost again, it prompt > same > error as original] > > I am new to this. the server did not start at all? > or > I need other configure on user ID? can somebody help > me? > chang > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > -- > Unsubscribe info: > http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/