X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.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@sea.gmane.org> <p06240801c2d2ab3c9626@[192.168.1.8]>  <f8j7aq$qja$1@sea.gmane.org> <p06240802c2d2de2f403a@[192.168.1.8]>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

