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.
** Changed in: openssh (Ubuntu)
Status: New => Incomplete
Status in “openssh” source package in Ubuntu: Incomplete
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.9.so[b7ac1000+15c000]
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/.ssh/identity type -1
debug1: identity file /home/sputnik/.ssh/id_rsa type -1
debug1: identity file /home/sputnik/.ssh/id_dsa type -1
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-OpenSSH_5.1p1 Debian-5ubuntu1
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_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
The authenticity of host 'IP (IP)' can't be established.
RSA key fingerprint is 04:51:ea:6d:b5:ec:d3:0e:eb:ce:cf:a1:d0:17:fa:de.
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_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/sputnik/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/sputnik/.ssh/identity
debug1: Trying private key: /home/sputnik/.ssh/id_rsa
debug1: Trying private key: /home/sputnik/.ssh/id_dsa
debug1: Next authentication method: password
sputnik@IP's password:
Connection closed by IP
sputnik@laptop:~$
I attach the output file.
I also have executed gdb with sshd to get more information, the output is in the other file.
Thank you for your help
Enric
----- Mensaje original ----
De: Jeff Enns <email address hidden>
Para: <email address hidden>
Enviado: sábado, 6 de junio, 2009 2:22:44
Asunto: [Bug 371659] Re: sshd segfault on login
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.
** Changed in: openssh (Ubuntu)
Status: New => Incomplete
-- /bugs.launchpad .net/bugs/ 371659
sshd segfault on login
https:/
You received this bug notification because you are a direct subscriber
of the bug.
Status in “openssh” source package in Ubuntu: Incomplete
Bug description: 9.so[b7ac1000+ 15c000]
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 .ssh/identity type -1 .ssh/id_ rsa type -1 .ssh/id_ dsa type -1 OpenSSH_ 5.1p1 Debian-5ubuntu1 KEX_DH_ GEX_REQUEST( 1024<1024< 8192) sent KEX_DH_ GEX_GROUP KEX_DH_ GEX_INIT sent KEX_DH_ GEX_REPLY 6d:b5:ec: d3:0e:eb: ce:cf:a1: d0:17:fa: de. SERVICE_ REQUEST sent SERVICE_ ACCEPT received .ssh/id_ rsa .ssh/identity .ssh/id_ rsa .ssh/id_ dsa
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