Disconnecting: Bad packet length

olle ollesson bpsr77 at hotmail.com
Sat Apr 29 03:19:45 EST 2006


Hi,

I'm trying to get OpenSSH to work on Solaris 10 wich Sun C 5.8 compiler 
(SUNWspro 11). I've compiled OpenSSL 0.9.8a without problem and OpenSSH 
4.3p2 as well.

[user at compilationserver ~/openssh-4.3p2] ./ssh -V
OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005

My problem is that I cannot connect to anything. When I try I always get an 
error

[user at compilationserver ~/openssh-4.3p2] ./ssh localhost
Disconnecting: Bad packet length 872800259.

When run with debug flags the last entries are:

debug2: bits set: 520/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
Disconnecting: Bad packet length 2746918454.


When compiled on Solaris 9 with Sun C 5.3 (SUNWspro 6) it works.

I've searched the mailing archives and found some entres from long time ago 
with a similar problem. The suggestion then was to test changing zlib. On 
Solaris 10 the zlib installed is SUNzlib 11.10.0,REV=2005.01.08.05.16 and on 
Solaris 9 it is 11.9.0,REV=2002.03.02.00.35 . Could it be related to the new 
zlib in Solaris 10 compared to Solaris 9?

Anyone else that has encountered this problem?

Any help is greatly apprechiated.

Best Regards,
Olle

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the openssh-unix-dev mailing list