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:
1 | nano .ssh/config |
content:
1 2 | HostKeyAlgorithms ssh-rsa PubkeyAcceptedKeyTypes ssh-rsa |
That's all. Connecting should now be possible.
Related entries:
Steam platform installation on Ubuntu 20.04 / Linux Mint
Installation of Zoom (videoconferencing tool) and Ubuntu 20.04
Installing Oracle Java 16 and Ubuntu 20.04, 18.04, 20.10
The guide describes how to install Redis server in Ubuntu 20.04
Code 19.04 dl.winehq.org/wine-builds/winehq.key 20.04 oraz Ubuntu 21.04






Good morning,
where the config, on both computers or only one of them?
on one, only the one you connect from.