Solving the problem of no matching host key type found. Their offer: ssh-rsa,ssh-dss

Below is a solution to the problem when when connecting to ssh, we will not connect, but we will get the error no matching host key type found. Their offer: ssh-rsa,ssh-dss

This problem occurs when we try to log in, for example from Ubuntu 22.04 on Centos 6 Ubuntu uses the newer version openssh 8.8

The solution is to create a file:

content:

That's all. Connecting should now be possible.

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.