From owner-freebsd-questions Tue Jan 15 13: 2:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by hub.freebsd.org (Postfix) with ESMTP id 9F31237B419 for ; Tue, 15 Jan 2002 13:02:00 -0800 (PST) Received: from neildesk.neilmcgann.co.uk ([213.107.105.120]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020115210155.QNRW6966.mta07-svc.ntlworld.com@neildesk.neilmcgann.co.uk> for ; Tue, 15 Jan 2002 21:01:55 +0000 Message-Id: <5.1.0.14.0.20020115204431.00a0a950@pop.ntlworld.com> X-Sender: neil.mcgann@pop.ntlworld.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 15 Jan 2002 21:02:32 +0000 To: questions@freebsd.org From: Neil McGann Subject: PAM password authorisation problem in sshd Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, A newbie question. I appear to have broken ssh after upgrading 4.4-Release to 4.4-stable (this week). I've been following instructions in FreeBSD-STABLE_and_IPFILTER.html (less tripwire) and I had everything including ssh working great. Following upgrade (including mergemaster) I can't log in with sshd. The messages go: Jan 15 07:53:11 janus sshd[87]: debug1: Forked child 120. Jan 15 07:53:11 janus sshd[120]: Connection from 192.168.0.2 port 1115 Jan 15 07:53:11 janus sshd[120]: Connection from 192.168.0.2 port 1115 Jan 15 07:53:11 janus sshd[120]: debug1: Client protocol version 2.0; client software version PuTTY Jan 15 07:53:12 janus sshd[120]: debug1: no match: PuTTY Jan 15 07:53:12 janus sshd[120]: Enabling compatibility mode for protocol 2.0 Jan 15 07:53:12 janus sshd[120]: debug1: Local version string SSH-2.0-OpenSSH_2.9 FreeBSD localisations 20011202 Jan 15 07:53:12 janus sshd[120]: debug1: Rhosts Authentication disabled, originating port not trusted. Jan 15 07:53:12 janus sshd[120]: debug1: list_hostkey_types: ssh-dss Jan 15 07:53:12 janus sshd[120]: debug1: SSH2_MSG_KEXINIT sent Jan 15 07:53:12 janus sshd[120]: debug1: SSH2_MSG_KEXINIT received Jan 15 07:53:12 janus sshd[120]: debug1: kex: client->server 3des-cbc hmac-sha1 none Jan 15 07:53:12 janus sshd[120]: debug1: kex: server->client 3des-cbc hmac-sha1 none Jan 15 07:53:12 janus sshd[120]: debug1: dh_gen_key: priv key bits set: 197/384 Jan 15 07:53:12 janus sshd[120]: debug1: bits set: 495/1024 Jan 15 07:53:12 janus sshd[120]: debug1: expecting SSH2_MSG_KEXDH_INIT Jan 15 07:53:12 janus sshd[120]: debug1: bits set: 518/1024 Jan 15 07:53:12 janus sshd[120]: debug1: sig size 20 20 Jan 15 07:53:12 janus sshd[120]: debug1: kex_derive_keys Jan 15 07:53:12 janus sshd[120]: debug1: newkeys: mode 1 Jan 15 07:53:12 janus sshd[120]: debug1: SSH2_MSG_NEWKEYS sent Jan 15 07:53:12 janus sshd[120]: debug1: waiting for SSH2_MSG_NEWKEYS Jan 15 07:53:12 janus sshd[120]: debug1: newkeys: mode 0 Jan 15 07:53:12 janus sshd[120]: debug1: SSH2_MSG_NEWKEYS received Jan 15 07:53:12 janus sshd[120]: debug1: KEX done Jan 15 07:53:18 janus sshd[120]: Could not reverse map address 192.168.0.2. Jan 15 07:53:18 janus sshd[120]: debug1: userauth-request for user nmcgann service ssh-connection method password Jan 15 07:53:18 janus sshd[120]: debug1: attempt 0 failures 0 Jan 15 07:53:18 janus sshd[120]: debug1: Starting up PAM with username "nmcgann" Jan 15 07:53:18 janus sshd[120]: Failed password for nmcgann from 192.168.0.2 port 1115 ssh2 Jan 15 07:53:22 janus sshd[120]: fatal: Read from socket failed: Connection reset by peer My freeBSD machine is called janus and the remote machine's IP is 192.168.0.2. I've searched the web/archives for clues, but the closest problem I've found is due to people not running mergemaster. Any ideas of where to look next? Neil -- neil@neilmcgann.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message