SSH connection issue - "ssh_dispatch_run_fatal: Connection to X.X.X.X port 22: message authentication code incorrect"
Just putting it on TJC as I had this problem and fixed it.
All of a sudden, I could not connect to my XA2 from MacOS running OpenSSH v7.9p1
running ssh with the -vvv
flag showed that there was a problem with the cipher used.
Solution is:
- either to use
-c <ciphername>
on the command line, e.g.ssh -c aes256-ctr nemo@<IP>
, or modify your
/etc/ssh/ssh_config
with something like this:Host xperiaxa2 Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc