Why ssh to a server throws error "disconnecting: Bad packet length xxxxxxxxx"?
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
