We have moved to a new Sailfish OS Forum. Please start new discussions there.
4

SSH connection issue - "ssh_dispatch_run_fatal: Connection to X.X.X.X port 22: message authentication code incorrect"

asked 2020-01-24 11:35:10 +0300

cartron gravatar image

updated 2020-03-22 18:44:56 +0300

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

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-01-26 10:34:17 +0300

luchmhor gravatar image

Hey,

I had the same problem with my installation too, solution:

devel-su
pkcon refresh
pkcon update

this should install a non faulty ssh version.

edit flag offensive delete publish link more

Comments

i just did that to test, but that does not fix the problem

cartron ( 2020-01-27 23:09:17 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2020-01-24 11:35:10 +0300

Seen: 3,497 times

Last updated: Mar 22 '20