I've installed OpenSSH on Windows.
I can successfully connect to my remote server via ssh with Putty from this Windows machine.
But when opening a PowerShell, and trying
ssh [email protected] I've got the error:
debug3: send packet: type 5 Corrupted MAC on input. ssh_dispatch_run_fatal: Connection to 1.2.3.4 port 22: message authentication code incorrect When looking on my remote server in the secure logs, I've got:
Dec 7 03:20:22 allo-01 sshd[10102]: Connection from 4.3.2.1 port 49869 on 1.2.3.4 port 22 Dec 7 03:20:23 allo-01 sshd[10102]: Connection reset by 4.3.2.1 port 49869 [preauth] Do you know what's wrong? Why my ssh command from openssl on windows behave differently from PuTTY?


ssh -Q macto list all the available algorithm. 2. find the algorithm your system (suppose it is the key file under C:\Users\<your login>\.ssh used by openSSH on your Windows OS) used or add all the possible algorithms may be used from the output ofssh -Q macto the ssh command-moption, e.g.:ssh -m hmac-sha2-256,hmac-sha2-512,[email protected],[email protected] user_id@target_server