Date: Tue, 15 Jan 2002 21:02:32 +0000 From: Neil McGann <neil@neilmcgann.co.uk> To: questions@freebsd.org Subject: PAM password authorisation problem in sshd Message-ID: <5.1.0.14.0.20020115204431.00a0a950@pop.ntlworld.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020115204431.00a0a950>