Segmentation fault on public key authentification

Daniel Khan d.khan at ventigo.com
Wed Mar 16 00:06:19 EST 2005


Darren Tucker wrote:

> No, OpenSSL the library, not OpenSSH.  You may want to compare 
> /usr/lib/libcrypto* with your working machine.

It's the same.

> [..]
>
>>
>> #1  0x00000000fbad8000 in ?? ()
>
> Hmm, that's not very helpful.  You can try disabling reexec (add "-r" 
> to the args gdb passes to sshd) but if the problem is because of the 
> breakpoint thing gdb is complaining about then it's possible that 
> won't help either.

Didn't help. BUT I now compiled 4.0 on node1 and the segfault is gone 
but public key auth still doesn't work anymore.
I have the debugging output of such a session and a working session with 
another host.

// NOT WORKING
debug1: Next authentication method: publickey
debug1: Offering public key: /root/.ssh/identity
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Trying private key: /root/.ssh/id_rsa
debug3: no such identity: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug3: no such identity: /root/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password

// WORKING
debug1: Next authentication method: publickey
debug1: Offering public key: /root/.ssh/identity
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-dss blen 433
debug2: input_userauth_pk_ok: fp 
c2:45:5c:00:f4:64:d5:41:46:d3:aa:d0:e5:4b:5c:2d
debug3: sign_and_send_pubkey
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.

I have some ideas about the cause but I am not really sure.

Maybe this gives some kind of hint to you?

Thanks for your effords! :-)

-- 
Daniel Khan
Technische Leitung
Geschäftsführender Gesellschafter

Ventigo
Werbung . IT . Marketing GmbH

Kornstrasse 10 4060 Leonding
T. +43 (0) 732 37 09 60 | F. +43 (0) 732 37 09 60 10
http://www.ventigo.com | office at ventigo.com




More information about the openssh-unix-dev mailing list