Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 16:49:44 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        current@freebsd.org
Subject:   Re: PasswordAuthentication not works in sshd
Message-ID:  <20020709124943.GA15259@nagual.pp.ru>
In-Reply-To: <xzpn0tacp9c.fsf@flood.ping.uio.no>
References:  <20020702114530.GB837@nagual.pp.ru> <xzpn0tacp9c.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 02, 2002 at 14:01:35 +0200, Dag-Erling Smorgrav wrote:
> "Andrey A. Chernov" <ache@nagual.pp.ru> writes:
> > I just upgrade to recent -current sshd and found that 
> > PasswordAuthentication not works anymore (always fails, with right 
> > password too). I not yet dig deeper at this moment, just FYI.
> 
> Try this:
> 
> -       return (ret);
> +       return (0);

It not helps. Moreover, I found that I am able to do 'ssh localhost' but 
unable to do ssh from any other machine, with exact the same password. 
DEBUG3 output clearly indicates that this error is related to PAM somehow:

debug3: mm_answer_authserv: service=ssh-connection, style=
debug2: monitor_read: 3 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 10
debug3: mm_answer_authpassword: sending result 0
debug3: mm_request_send entering: type 11
Failed none for ache from XXX.XX.XX.XXX port 1139 ssh2
debug3: mm_request_receive entering
debug3: monitor_read: checking request 10
debug1: PAM Password authentication for "ache" failed[9]: authentication error
debug3: mm_answer_authpassword: sending result 0
debug3: mm_request_send entering: type 11
Failed password for ache from XXX.XX.XX.XXX port 1139 ssh2

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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