Hi,
When I ssh a solaris 8 server from Ubuntu 10.04 I get:
Bad packet length 1783261441. Disconnecting: Packet corrupt
It works from any other ssh client I tried on Debian. Seems to be a bug from ubuntu side, ssh client or even ssl.
ssh -vv gives me:
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 144.165.11.89 [144.165.11.89] port 22. debug1: Connection established. debug1: identity file /home/david/.ssh/identity type -1 debug1: identity file /home/david/.ssh/id_rsa type -1 debug1: identity file /home/david/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_4.4 debug1: match: OpenSSH_4.4 pat OpenSSH_4* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu4 debug2: fd 3 setting O_NONBLOCK debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,<email address hidden> debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,<email address hidden> debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,<email address hidden>,hmac-ripemd160,<email address hidden>,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,<email address hidden>,hmac-ripemd160,<email address hidden>,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,<email address hidden>,zlib debug2: kex_parse_kexinit: none,<email address hidden>,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss debug2: kex_parse_kexinit: aes256-cbc,aes256-ctr debug2: kex_parse_kexinit: aes256-cbc,aes256-ctr debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,<email address hidden>,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,<email address hidden>,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,<email address hidden> debug2: kex_parse_kexinit: none,<email address hidden> debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_setup: found hmac-md5 debug1: kex: server->client aes256-ctr hmac-md5 none debug2: mac_setup: found hmac-md5 debug1: kex: client->server aes256-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<4096<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug2: dh_gen_key: priv key bits set: 279/512 debug2: bits set: 2091/4096 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host '144.165.11.89' is known and matches the RSA host key. debug1: Found key in /home/david/.ssh/known_hosts:2 debug2: bits set: 2100/4096 debug1: ssh_rsa_verify: signature correct debug2: kex_derive_keys debug2: set_newkeys: mode 1 debug2: cipher_init: set keylen (16 -> 32) debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug2: set_newkeys: mode 0 debug2: cipher_init: set keylen (16 -> 32) debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent Bad packet length 2218907575. Disconnecting: Packet corrupt
You guys need any other info ? Let me know.
Hi,
When I ssh a solaris 8 server from Ubuntu 10.04 I get:
Bad packet length 1783261441.
Disconnecting: Packet corrupt
It works from any other ssh client I tried on Debian. Seems to be a bug from ubuntu side, ssh client or even ssl.
ssh -vv gives me:
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009 .ssh/identity type -1 .ssh/id_ rsa type -1 .ssh/id_ dsa type -1 OpenSSH_ 5.3p1 Debian-3ubuntu4 hellman- group-exchange- sha256, diffie- hellman- group-exchange- sha1,diffie- hellman- group14- sha1,diffie- hellman- group1- sha1 ctr,aes192- ctr,aes256- ctr,arcfour256, arcfour128, aes128- cbc,3des- cbc,blowfish- cbc,cast128- cbc,aes192- cbc,aes256- cbc,arcfour, <email address hidden> ctr,aes192- ctr,aes256- ctr,arcfour256, arcfour128, aes128- cbc,3des- cbc,blowfish- cbc,cast128- cbc,aes192- cbc,aes256- cbc,arcfour, <email address hidden> hmac-sha1, <email address hidden> ,hmac-ripemd160 ,<email address hidden> ,hmac-sha1- 96,hmac- md5-96 hmac-sha1, <email address hidden> ,hmac-ripemd160 ,<email address hidden> ,hmac-sha1- 96,hmac- md5-96 hellman- group-exchange- sha256, diffie- hellman- group-exchange- sha1,diffie- hellman- group14- sha1,diffie- hellman- group1- sha1 cbc,aes256- ctr cbc,aes256- ctr hmac-sha1, hmac-ripemd160, <email address hidden> ,hmac-sha1- 96,hmac- md5-96 hmac-sha1, hmac-ripemd160, <email address hidden> ,hmac-sha1- 96,hmac- md5-96 KEX_DH_ GEX_REQUEST( 1024<4096< 8192) sent KEX_DH_ GEX_GROUP KEX_DH_ GEX_INIT sent KEX_DH_ GEX_REPLY .ssh/known_ hosts:2 SERVICE_ REQUEST sent
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 144.165.11.89 [144.165.11.89] port 22.
debug1: Connection established.
debug1: identity file /home/david/
debug1: identity file /home/david/
debug1: identity file /home/david/
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.4
debug1: match: OpenSSH_4.4 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-
debug2: kex_parse_kexinit: aes128-
debug2: kex_parse_kexinit: hmac-md5,
debug2: kex_parse_kexinit: hmac-md5,
debug2: kex_parse_kexinit: none,<email address hidden>,zlib
debug2: kex_parse_kexinit: none,<email address hidden>,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes256-
debug2: kex_parse_kexinit: aes256-
debug2: kex_parse_kexinit: hmac-md5,
debug2: kex_parse_kexinit: hmac-md5,
debug2: kex_parse_kexinit: none,<email address hidden>
debug2: kex_parse_kexinit: none,<email address hidden>
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes256-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes256-ctr hmac-md5 none
debug1: SSH2_MSG_
debug1: expecting SSH2_MSG_
debug2: dh_gen_key: priv key bits set: 279/512
debug2: bits set: 2091/4096
debug1: SSH2_MSG_
debug1: expecting SSH2_MSG_
debug1: Host '144.165.11.89' is known and matches the RSA host key.
debug1: Found key in /home/david/
debug2: bits set: 2100/4096
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug2: cipher_init: set keylen (16 -> 32)
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug2: cipher_init: set keylen (16 -> 32)
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_
Bad packet length 2218907575.
Disconnecting: Packet corrupt
You guys need any other info ? Let me know.