sshd segfault on login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Server /var/log/syslog
May 4 12:07:03 laptop kernel: [ 8344.704115] sshd[9287]: segfault at 708421f8 ip b7b33170 sp b70c8fa4 error 6 in libc-2.
Client Output
sputnik@laptop:~$ ssh -v IP
OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to IP [IP] port 22.
debug1: Connection established.
debug1: identity file /home/sputnik/
debug1: identity file /home/sputnik/
debug1: identity file /home/sputnik/
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5ubuntu1
debug1: match: OpenSSH_5.1p1 Debian-5ubuntu1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_
debug1: expecting SSH2_MSG_
debug1: SSH2_MSG_
debug1: expecting SSH2_MSG_
The authenticity of host 'IP (IP)' can't be established.
RSA key fingerprint is 04:51:ea:
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'IP' (RSA) to the list of known hosts.
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_
debug1: SSH2_MSG_
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/sputnik/
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/sputnik/
debug1: Trying private key: /home/sputnik/
debug1: Trying private key: /home/sputnik/
debug1: Next authentication method: password
sputnik@IP's password:
Connection closed by IP
sputnik@laptop:~$
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: openssh-server 1:5.1p1-5ubuntu1
ProcEnviron:
SHELL=/bin/bash
LANG=ca_AD.UTF-8
SourcePackage: openssh
Uname: Linux 2.6.28-11-generic i686
Thank you for sending in your report. Could you try something for me, please? On the server-side could you do the following:
sudo /etc/init.d/ssh stop
sudo /usr/sbin/sshd -d 2> ~/strace-sshd.txt
Now try to ssh into the box. Once it fails you can attache the file (strace-sshd.txt in your home directory) here. You can start the ssh daemon again on the server by running:
sudo /etc/init.d/ssh start
Thank you.