Unable to negotiate with ssh

ssh n@n.n.n.n
Unable to negotiate with n.n.n.n port 22: no matching host key type found. Their offer: ssh-rsa, ssh-dss
I have to delete his entry from here
sudo nano /home/manro/.ssh/known_hosts
And then
ssh -oHostKeyAlgorithms = + ssh-dss n@n.n.n.n
After that, you can connect, but if you leave the session, then you need to do everything in a new way

You can setup an entry for the host in your .ssh/config this will save you the trouble of adding it.

The change has something to do with ciphers now considered unsafe - and the issue is with servers running older versions of openssh.

1 Like

Also the the known (older) issues of latest announcement:

If you want to keep using rsa keys and/or cannot change host keys:

1 Like

But why if I put on my computer a hard drive with installed mint or mx linux, the connection with the same server via ssh is established without problems ? I connect to my remote server with operating system CentOS 6. This is the control server of the compute cluster

Because those 2 use an older openssh version to connect to the server…
Also see https://www.openssh.com/txt/release-8.8

Thanks