X-Spam-Check-By: sourceware.org Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Mon, 30 Jul 2007 09:25:06 -0400 To: =?iso-8859-1?Q?Ren=E9_Berber?= From: Daniel Griscom Subject: Re: sshd: public key working, but can't get passwords working Cc: cygwin AT cygwin DOT com Content-Type: text/plain; charset="iso-8859-1" ; format="flowed" X-Antivirus-Scanner: This message has been scanned by ClamAV. X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l6UDPHgw022988 At 7:32 PM -0500 7/29/07, René Berber wrote: >Back to the original problem: did you use ssh-user-config? (I guess you did >since you had to copy the public key). No; I'd thought that ssh-user-config was to configure an account that was to be an ssh client (e.g. one within which I'd use ssh to connect to another machine). I copied the public key from another workstation from which I've used ssh public key connections for a number of servers. >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). Thanks, Dan -- Daniel T. Griscom griscom AT suitable DOT com Suitable Systems http://www.suitable.com/ 1 Centre Street, Suite 204 (781) 665-0053 Wakefield, MA 01880-2400 -- 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/