Corrupted MAC on input. ssh_dispatch_run_fatal:message authentication code incorrect unable to ssh j

Publish date: 2024-05-17

I was trying to connect to my jupyter notebook which is running on my remote server so that I can access it on my local windows machine.

These were the steps that I followed.

On my remote server :

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

Then on my local windows machine

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

But I am getting an error

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 

However when I tried doing the same thing on Microsoft Ubuntu WSL. I was able to connect successfully and then I was able to connect by typing jupyter notebook on cmd.

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: ****** 
1

1 Answer

ssh -L localhost:8888:localhost:8889 -m hmac-sha2-256 *******@**********.de.bosch.com 

If you don't get it, execute:

ssh -Q mac 

and replace hmac-sha2-256 with each one.

ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJobWlpYG19dH6OnKarqqWlwaawjKaYnGWfo3qqus%2Buq2aro516pbXSqZitm5hiv7a6jJ%2BYrZmcorK0v8CgnGaZpam1prrTopqarJmku26vzp2cZqGemLyz