Bug#165373: libc6: cannot login using ssh
Subject: libc6: cannot login using ssh
Package: libc6
Version: 2.3.1-1
Severity: normal
Tags: sid
This problem is introduced when using libc6_2.3.1-1_i386.deb, when reinstalling
libc6_2.2.5-15_i386.deb the problem goes away.
When I try to login from a remote (woody) host to a sid host:
% ssh spiritus
Connection to spiritus closed by remote host.
Connection to spiritus closed.
The relevant output of ssh -v spiritus (spiritus runs sid):
...
debug1: try pubkey: /home/arthur/.ssh/id_rsa
debug1: input_userauth_pk_ok: pkalg ssh-rsa blen 149 lastkey 0x80918b0 hint 0
debug1: read PEM private key done: type RSA
debug1: ssh-userauth2 successful: method publickey
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: channel_free: channel 0: client-session, nchannels 1
Connection to spiritus closed by remote host.
Connection to spiritus closed.
debug1: Transferred: stdin 0, stdout 0, stderr 79 bytes in 0.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 8319.2
debug1: Exit status -1
So I successfully autheticate using ssh keys and when the session is started something
bums out. On the target (spiritus/sid) machine I get in /var/log/auth.log:
Oct 18 12:54:25 spiritus sshd[14571]: Could not reverse map address 192.168.12.1.
Oct 18 12:54:25 spiritus sshd[14571]: PAM rejected by account configuration[9]: Authentication service cannot retrieve authentication info.
Oct 18 12:54:25 spiritus sshd[14571]: fatal: monitor_read: unsupported request: 24
The first is also strange since 'dig -x 192.168.12.1' produces the
expected results. If I use libc6_2.2.5-15_i386.deb I get:
Oct 18 13:01:44 spiritus sshd[14886]: Accepted publickey for arthur from 192.168.12.1 port 3947 ssh2
Oct 18 13:01:44 spiritus ssh(pam_unix)[14888]: session opened for user arthur by (uid=1000)
and I get a session.
My /etc/nsswitch.conf:
passwd: files ldap
group: files ldap
shadow: files ldap
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
my /etc/resolv.conf:
search thuis.net
nameserver 192.168.12.1
my /etc/pam.d/ssh:
#%PAM-1.0
auth required pam_nologin.so
auth required pam_unix.so
auth required pam_env.so # [1]
account required pam_unix.so
session required pam_unix.so
session optional pam_lastlog.so # [1]
session optional pam_motd.so # [1]
session optional pam_mail.so standard noenv # [1]
session required pam_limits.so
password required pam_unix.so
The user that I try to login as has an account in /etc/passwd.
The versions of pam (libpam-modules, libpam-runtime, libpam0g) I tried this with are:
0.76-3, 0.76-4, 0.76-5 and 0.76-6. All these versions fail.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux spiritus 2.4.18 #10 Sun May 12 22:32:47 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-6 The Berkeley database routines [gl
-- no debconf information
-- arthur - arthur@tiefighter.et.tudelft.nl - http://tiefighter.et.tudelft.nl/~arthur --
Reply to: