delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/20/05:07:08

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: <3A9240E0.E438741D@coldstone.com>
Date: Tue, 20 Feb 2001 02:03:12 -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: Corinna Vinschen <cygwin AT cygwin DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: sshd connection refused
References: <3A9222D1 DOT C9910D2E AT coldstone DOT com> <20010220091124 DOT O908 AT cygbert DOT vinschen DOT de>

Corinna Vinschen wrote:
> 
> On Mon, Feb 19, 2001 at 11:54:57PM -0800, Alberto Begliomini wrote:
> > 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?
> 
> Read /usr/doc/Cygwin/openssh-2.3.0p1.README especially the part
> about user rights.

I already read the openssh-2.3.0p1.README file. The document states:

- If you want to authenticate via RSA and you want to login to that
  machine to exactly one user account you can do so by running sshd
  under that user account. 

and then continues:

- If you want to be able to login to different user accounts you'll
  have to start sshd under system account or any other account that
  is able to switch user context. 

But it does not mention anything about authenticating with just one 
user and using password instead of RSA. This is not tremendously 
important, however, since I want to run sshd as a service any way.

> > I also tried to run sshd as a service. I am trying to run sshd via srvany,
> > and I did the following:
> > [...]
> > 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?
> 
> Read /usr/doc/Cygwin/openssh-2.3.0p1.README especially the part
> about permission bits and ownership of files.

Unfortunately I did that already. ntsec is enable, the private and public host 
keys belong to SYSTEM, and the private host keys have permission 0600. Still
sshd does not show up in the task manager list of processes.

Alberto

 
> Corinna
> 
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin AT cygwin DOT com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

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