Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3A9222D1.C9910D2E@coldstone.com>
Date: Mon, 19 Feb 2001 23:54:57 -0800
From: Alberto Begliomini <aub@coldstone.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@cygwin.com
CC: aub@coldstone.com
Subject: sshd connection refused
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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@coldstone.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

