sshd_config / failed authentication
Dan Nelson
dnelson at allantgroup.com
Fri Jan 28 00:14:26 PST 2005
In the last episode (Jan 28), Fabian Anklam said:
> On Fri, 28 Jan 2005 02:21:08 +0100, Fabian Anklam <greatnorthern at 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 at allantgroup.com
More information about the freebsd-questions
mailing list