delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/29/20:33:23

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: sshd: public key working, but can't get passwords working
Date: Sun, 29 Jul 2007 19:32:42 -0500
Lines: 39
Message-ID: <f8jbjd$4uc$1@sea.gmane.org>
References: <p06240802c2d24b662020@[192.168.1.8]> <f8ite8$at$1 AT sea DOT gmane DOT org> <p06240801c2d2ab3c9626@[192.168.1.8]> <f8j7aq$qja$1 AT sea DOT gmane DOT org> <p06240802c2d2de2f403a@[192.168.1.8]>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.5 (Windows/20070716)
In-Reply-To: <p06240802c2d2de2f403a@[192.168.1.8]>
OpenPGP: url=hkp://wwwkeys.pgp.net
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Daniel Griscom wrote:
[snip]
>> Do you happen to have a domain user as well as a local user?
>=20
> I don't know the difference. I'm not at the machine now, but it's a
> vanilla Windows installation. All machines on my network are in
> workgroup MSHOME. I created one account when installing windows,
> "development". I told ssh-host-config to create the sshd user, but I
> don't know of any other users created.
>=20
> How would I test this?

What I meant is that you could have a user named development as a local use=
r,
and (a different) domain-user with the same name.  I did not mean a "domain"
user, just if there was several "development" users.

It looks like the answer is no.

Back to the original problem: did you use ssh-user-config?  (I guess you did
since you had to copy the public key).

What you reported about the log is simple, the password used is not correct=
...
it should prompt you 3 times and then close the connection; or the configur=
ation
does not allow password authentication, let's check this last one:

In /etc/sshd_config you should have:

#PasswordAuthentication yes
#PermitEmptyPasswords no
#UsePAM no

Those are the defaults, that's why they are commented.
--=20
Ren=E9 Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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