SSH error: "Corrupted MAC on input" or "Bad packet length"

Posted by William Ting on Ask Ubuntu See other posts from Ask Ubuntu or by William Ting
Published on 2012-09-18T15:07:30Z Indexed on 2012/09/18 15:54 UTC
Read the original article Hit count: 1586

Filed under:
|

I have 3 boxes set up as shown:

The DFW box can communicate to the SFO / internet just fine, and I send files AUS -> DFW. However, every time I trying transferring DFW -> AUS it fails over SSH (ssh client, rsync, scp, sftp, etc) with the following error:

Corrupted MAC on input.
Disconnecting: Packet corrupt

Occasionally I'll get a different error:

Bad packet length 2097180.
Disconnecting: Packet corrupt

I've restarted the DFW box, as well as replaced the network cable. I'm not sure what else might be causing problems.

Right now to get files from DFW I have to use DFW -> SFO -> AUS which is not optimal.

© Ask Ubuntu or respective owner

Related posts about networking

Related posts about ssh