Bug 32 - ssh fails with "Bus error" upon connection
Summary: ssh fails with "Bus error" upon connection
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: All Mac OS X
: P2 major
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-06 01:01 AEDT by Robert Harder
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Harder 2001-12-06 01:01:36 AEDT
ssh (3.0.2p1) fails with a "Bus error" upon connection. Typical session:

[localhost:local/src/openssh-3.0.2p1] rob% ./ssh -v roo
OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Seeding random number generator
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 501 geteuid 501 anon 1
debug1: Connecting to roo [127.0.0.1] port 22.
debug1: restore_uid
debug1: restore_uid
debug1: Connection established.
debug1: identity file /Users/rob/.ssh/identity type 0
debug1: identity file /Users/rob/.ssh/id_rsa type 1
debug1: identity file /Users/rob/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_2.9p2
debug1: match: OpenSSH_2.9p2 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.0.2p1
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 sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: dh_gen_key: priv key bits set: 140/256
debug1: bits set: 493/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
Bus error
[localhost:local/src/openssh-3.0.2p1] rob% 


This is with openssl 0.9.6b, openssh 3.0.2p1, and Mac OS X 10.1.1

-Rob
Comment 1 Damien Miller 2001-12-12 12:01:54 AEDT
Please send a full debugger trace.

Do you have any old OpenSSL headers lying around?
Comment 2 Robert Harder 2001-12-14 03:10:25 AEDT
In response to the question "Do you have any old OpenSSL headers lying around?":

No. Strangely, Mac OS X 10.1 doesn't come with the openssl headers - only a 
compiled binary. The openssl headers that I _do_ have are the ones that I 
compiled and installed from the 0.9.6b non-engine version of openssl.

-Rob
Comment 3 Kevin Steves 2002-04-05 20:01:47 AEST
no stack trace
Comment 4 Damien Miller 2004-04-14 12:24:17 AEST
Mass change of RESOLVED bugs to CLOSED