Re: Disconnecting: Bad packet length for OpenSSH_3.5p1 on solaris x86



On Mar 18, 4:26 pm, wong_po...@xxxxxxxx wrote:
On Mar 18, 4:22 pm, wong_po...@xxxxxxxx wrote:

# ssh ad...@xxxxxxxxxxxxx
bb17 a6cb 165d 876e ef19 f78f 260f 8a51

Disconnecting: Bad packet length -1156077877.

# uname -a
SunOS sun2 5.10 Generic_120012-14 i86pc i386 i86pc

# ssh -v
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f

Please help to solve this problem.

Both computers use the same version of OpenSSH.
# ssh -v
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f

Using the verbose option to connect:
# ssh -vvv admin@xxxxxxxxxxxxx
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
debug3: Seeding PRNG from /usr/hw/libexec/ssh-rand-helper
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to 172.20.11.200 [172.20.11.200] 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
debug3: RNG is ready, skipping seeding
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-
hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@xxxxxxxxxxxxxx
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@xxxxxxxxxxxxxx
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-
ripemd160@xxxxxxxxxxx,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-
ripemd160@xxxxxxxxxxx,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,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-sha1,diffie-
hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@xxxxxxxxxxxxxx
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@xxxxxxxxxxxxxx
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-
ripemd160@xxxxxxxxxxx,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-
ripemd160@xxxxxxxxxxx,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
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: 137/256
debug1: bits set: 1619/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /.ssh/known_hosts
debug3: check_host_in_hostfile: match line 4
debug1: Host '172.20.11.200' is known and matches the RSA host key.
debug1: Found key in /.ssh/known_hosts:4
debug1: bits set: 1592/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
426d 014f d770 60dd 1cad 892f e3a6 ecd9

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



Relevant Pages

  • "unknown key type" problem
    ... OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f ... ForwardAgent no ... debug1: Rhosts Authentication disabled, originating port will not be trusted. ...
    (comp.security.ssh)
  • Re: rtentry and rtrequest
    ... SSH on the SP whinges about:- ... OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090703f ... debug1: Rhosts Authentication disabled, ... Disconnecting: Bad packet length -730527857. ...
    (freebsd-net)
  • OPENSSH and VPN
    ... OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f ... debug1: Reading configuration data /etc/ssh/ssh_config ...
    (comp.security.ssh)
  • passwordless login using ssh
    ... with OpenSSH_2.5.2p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f ... But the authentication is falling over to password authentication. ... debug1: Reading configuration data /etc/ssh/ssh_config ...
    (comp.security.ssh)
  • ssh not responding (hang) from master node to a slave node in a cluster
    ... OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f ... I can't login to oscarnode1. ... debug1: Reading configuration data /etc/ssh/ssh_config ...
    (comp.security.ssh)