ssh: Disconnecting: Bad packet length

Zdenko Sego
Tue, 18 Mar 2008 17:20:51 -0000

Hello,

I have the following problem with ssh on Solaris 10,
64bitx86 systems:

bash-3.00# ssh -v admin at 172.20.11.244
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL
0x0090704f
debug1: Rhosts Authentication disabled, originating
port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to 172.20.11.244 [172.20.11.244]
port 22.
debug1: Connection established.
debug1: identity file /.ssh/identity type -1
debug1: identity file /.ssh/id_rsa type -1
debug1: identity file /.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software
version OpenSSH_3.5p1
debug1: match: OpenSSH_3.5p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.5p1
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: 126/256
debug1: bits set: 1662/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '172.20.11.244' is known and matches the
RSA host key.
debug1: Found key in /.ssh/known_hosts:3
debug1: bits set: 1590/3191
debug1: ssh_rsa_verify: signature correct
debug1: kex_derive_keys
debug1: newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: waiting for SSH2_MSG_NEWKEYS
debug1: newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
0e0a f978 a440 b424 779d b827 bcb6 951e

Disconnecting: Bad packet length 235600248.
debug1: Calling cleanup 0x8099050(0x0)

***

I do not have this problem on Solaris-sparc, HP-UX or
Linux platforms.

Any information how to fix this will be much
appreciated.

Z. Sego



      Be smarter than spam. See how smart SpamGuard is at giving junk email the
boot with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New
Mail today or register for free at http://mail.yahoo.ca