delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/20/02:55:51

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A9222D1.C9910D2E@coldstone.com>
Date: Mon, 19 Feb 2001 23:54:57 -0800
From: Alberto Begliomini <aub AT coldstone DOT com>
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.5-15 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: aub AT coldstone DOT com
Subject: sshd connection refused

I have installed Cygwin 1.1.8 DDL on a NT 4 workstation with SP6.

It works when I start manually sshd, but only with RSA keys not with
passwords, even if I specified "PasswordAuthentication yes" in 
/etc/sshd_config. Note that I ssh from the same host to localhost and 
with the same user, with which I start sshd. Any idea why it does not work?

I also tried to run sshd as a service. I am trying to run sshd via srvany, 
and I did the following:

I ran inssrv as in:

c:\winnt\instsrv SecureShellDaemon "c:\winnt\srvany.exe"

I added the followin entry in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecureShellDaemon
                  
I added the key "Parameters" under SecureShellDaemon and a name "Application" 
with value:

"c:\program\cygwin\usr\sbin\sshd.exe" 

When I start the service with:
           
net start SecureShellDaemon

it says the service is successfully started, however in the task manager, I 
only see srvany running but not sshd. I get, in fact, a "connection refused"
message when I try to ssh to localhost. Any idea here?

Any help is greatly appreciated.

-- 
Alberto U. Begliomini                            Email: aub AT coldstone DOT com
Coldstone Consulting, LLC                        Phone: 650-400-3990
Security, Data Centers Design and Management     Fax:   650-654-5938

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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