我试图连接到在远程服务器上运行的jupyter笔记本,以便可以在本地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
。
关于windows - 输入的MAC损坏。 ssh_dispatch_run_fatal:消息身份验证代码不正确,无法在远程服务器上ssh jupyter笔记本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60108032/