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:
The guide below describes how to install WhatsApp Messenger on Ubuntu
Installing libreoffice in Ubuntu 20.04 / 21.10
Log in to the server via SSH using a key
Installing Opera on Ubuntu systems / Debian / Linux Mint
ack -l DB_NAME
wp-config.php
wp-admin/setup-config.php
wp-config-sample.php
wp-content/plugins/litespeed-cache/src/db-optm.cls.php
wp-content/plugins/newsletter/system/status.php
wp-includes/load.php
wp-includes/ms-load.php
Good morning,
where the config, on both computers or only one of them?
on one, only the one you connect from.