Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2005 02:14:20 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Fabian Anklam <greatnorthern@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sshd_config / failed authentication
Message-ID:  <20050128081419.GH31269@dan.emsphone.com>
In-Reply-To: <467b1e7a05012719057f9b7a30@mail.gmail.com>
References:  <467b1e7a050127172176b829f4@mail.gmail.com> <467b1e7a05012719057f9b7a30@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 28), Fabian Anklam said:
> On Fri, 28 Jan 2005 02:21:08 +0100, Fabian Anklam <greatnorthern@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050128081419.GH31269>