X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: sshd: public key working, but can't get passwords working Date: Mon, 30 Jul 2007 15:43:13 +0100 Lines: 28 Message-ID: References: <46ADE970 DOT 7010000 AT Hipp DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit User-Agent: MicroPlanet-Gravity/2.70.2067 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com * Michael Hipp (Mon, 30 Jul 2007 08:36:48 -0500) > Daniel Griscom wrote: > > At 7:32 PM -0500 7/29/07, René Berber wrote: > >> Back to the original problem: did you use ssh-user-config? (I guess > >> 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 > >> configuration > >> does not allow password authentication, let's check this last one: > >> > >> In /etc/sshd_config you should have: > >> > >> #PasswordAuthentication yes > >> #PermitEmptyPasswords no > >> #UsePAM no > > > > All three lines are present and commented out (as above). > > I thought you were trying to use public/private key authentication, not > password authentication? > > If so, then the first line above needs to be uncommented and changed to > 'no'. No, password authentication and public are not mutually exlusive. The default is fine. Thorsten -- 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/