输入损坏 MAC。 ssh_dispatch_run_fatal:message 验证码不正确,无法在远程服务器上通过 ssh jupyter notebook

Corrupted MAC on input. ssh_dispatch_run_fatal:message authentication code incorrect unable to ssh jupyter notebook on remote server

我试图连接到远程服务器上 运行 的 jupyter notebook,以便我可以在本地 windows 机器上访问它。

这些是我遵循的步骤。

在我的远程服务器上:

jupyter notebook --no-browser --port=8889

然后在我本地 windows 机器上

ssh -N -f -L localhost:8888:localhost:8889 *******@**********.de.bosch.com

但是我收到一个错误

C:\>ssh -N -f -L localhost:8888:localhost:8889 *******@**********.de.bosch.com
Corrupted MAC on input.
ssh_dispatch_run_fatal: Connection to 10.82.134.38 port 22: message authentication code incorrect

然而,当我尝试在 Microsoft Ubuntu WSL 上做同样的事情时。我能够成功连接,然后我能够通过在 cmd 上键入 jupyter notebook 来连接。

ssh -N -f -L localhost:8888:localhost:8889 *****@*******.de.bosch.com
The authenticity of host '*****@*******.de.bosch.com (10.82.134.38)' can't be established.
ECDSA key fingerprint is SHA256:EMneQnZfl3uyH0xeH+LPnkib4v7lF24qdx5C1QnXkxI.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '*******.de.bosch.com' (ECDSA) to the list of known hosts.
Password: ******
ssh -L localhost:8888:localhost:8889 -m hmac-sha2-256 *******@**********.de.bosch.com

没搞定就执行:

ssh -Q mac

并用每个替换 hmac-sha2-256