From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 08:14:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC35616A4CE for ; Fri, 28 Jan 2005 08:14:26 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 718B843D1D for ; Fri, 28 Jan 2005 08:14:26 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id j0S8EKf9089747; Fri, 28 Jan 2005 02:14:20 -0600 (CST) (envelope-from dan) Date: Fri, 28 Jan 2005 02:14:20 -0600 From: Dan Nelson To: Fabian Anklam Message-ID: <20050128081419.GH31269@dan.emsphone.com> References: <467b1e7a050127172176b829f4@mail.gmail.com> <467b1e7a05012719057f9b7a30@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <467b1e7a05012719057f9b7a30@mail.gmail.com> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: sshd_config / failed authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 08:14:26 -0000 In the last episode (Jan 28), Fabian Anklam said: > On Fri, 28 Jan 2005 02:21:08 +0100, Fabian Anklam wrote: > > could someone be so kind to point out to me which settings in > > sshd_config have to be changed to allow login from an ssh client > > without getting "authentication failed" messages on the console and > > a timeout on the guest machine. > > > > My client, putty in this case display the login: dialog, but after > > entering the username hangs without ever displaying the password: > > dialog Try killing the sshd daemon and running "sshd -Ddd", which will print out lots of information during authentication. > > My FreeBSD5.3 Release box ps -aux reveals: > > > > root 722 0.0 0.7 3360 2812 ?? Is 12:12AM 0:00.01 sshd > > root 755 0.0 0.8 4720 2920 ?? Is 12:29AM 0:00.05 sshd: [accepted] (sshd) > > sshd 756 0.0 0.8 4792 2936 ?? S 12:29AM 0:00.18 sshd: [net] (sshd) > > root 760 0.0 0.1 348 232 v0 R+ 12:29AM 0:00.00 grep sshd "truss -d" output of the two ssh processes might be useful too, if the sshd debugging output doesn't point to anything obvious. -- Dan Nelson dnelson@allantgroup.com