“ssh_dispatch_run_fatal: Connection to x.x.x.x port 22: message authentication code incorrect“报错解决方法

ssh远程连接:

ssh [email protected]

报错如下:

Corrupted MAC on input.
ssh_dispatch_run_fatal: Connection to x.x.x.x port 22: message authentication code incorrect

执行如下命令:

ssh -Q mac

可以看到:

hmac-sha1
hmac-sha1-96
hmac-sha2-256
hmac-sha2-512
hmac-md5
hmac-md5-96
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

选择其中一个,重新连接,即可成功接入:

ssh -m hmac-sha2-512 [email protected]

你可能感兴趣的:(Linux,ssh,运维)