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/
Hi again, Sorry for answering my own mail. Just for the record, I've now downloaded and compiled zlib-1.2.3 and build openssh with the following options ./configure --prefix=/opt/openssh-4.3p2 --with-ssl-dir=/opt/openssl-0.9.8a --with-zlib=/opt/zlib-1.2.3 Unfortunately this didn't help. I still get "Disconnecting: Bad packet length" before the password prompt is shown. Cheers, Olle _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
On Fri, Apr 28, 2006 at 07:19:45PM +0200, olle ollesson wrote:> 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.I had the same problem with SUN Studio 11 too; installing the latest patches compiler patches seemed to fix the problem. -- Jason Fortezzo fortezza at mechanicalism.net
Apparently Analagous Threads
- running sshd under AIX 4.3.3 ?
- Free Sun patch 105710-01 provides /dev/random on Solaris (fwd)
- [PATCH server] oVirt server single network installer
- Make error durring compilation of OpenSSH 4.3p1 on HP-UX 11.00
- Problem compiling openssh-4.3p2 w/ openssl.0.9.8a on FC3