From owner-freebsd-current Tue Jul 9 5:50:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7DF037B405 for ; Tue, 9 Jul 2002 05:50:03 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id E744843E42 for ; Tue, 9 Jul 2002 05:50:01 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.5/8.12.5) with ESMTP id g69Cno5C015313; Tue, 9 Jul 2002 16:49:57 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.5/8.12.5/Submit) id g69Cnl4Y015312; Tue, 9 Jul 2002 16:49:47 +0400 (MSD) (envelope-from ache) Date: Tue, 9 Jul 2002 16:49:44 +0400 From: "Andrey A. Chernov" To: Dag-Erling Smorgrav Cc: current@freebsd.org Subject: Re: PasswordAuthentication not works in sshd Message-ID: <20020709124943.GA15259@nagual.pp.ru> References: <20020702114530.GB837@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 02, 2002 at 14:01:35 +0200, Dag-Erling Smorgrav wrote: > "Andrey A. Chernov" 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