Why ssh to a server throws error "disconnecting: Bad packet length xxxxxxxxx"?

Solution Verified - Updated -

Issue

When connecting to ssh server, there is an error message, Disconnecting: Bad packet length 1953787962.

# ssh server
Disconnecting: Bad packet length 1953787962.
  • OR
[root@example ~]# dmesg
Bad packet length 2075140196.
Disconnecting: Packet corrupt

Environment

  • Red Hat Enterprise Linux (RHEL) 4.
  • Red Hat Enterprise Linux (RHEL) 5.
  • Red Hat Enterprise Linux (RHEL) 6.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In