delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/26/05:14:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <3500515B75D9D311948800508BA3795595076D@EX-LONDON>
From: Vince Hoffman <Vince DOT Hoffman AT uk DOT circle DOT com>
To: "'lxl ch'" <lxlch AT yahoo DOT com>, cygwin AT cygwin DOT com
Subject: RE: Help me : "ssh localhost" fail
Date: Thu, 26 Sep 2002 10:13:54 +0100
MIME-Version: 1.0

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/

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019