Day: May 2, 2023

SSH returns: no matching host key type found. Their offer: ssh-dss

When you do an SSH or SCP to a server, you may find the below error message.

“SSH returns: no macthing key type found. Their offer ssh-rsa,ssh-dss”.

You can add the -oHostKeyAlgorithms option to access the server. For example.

ssh -oHostKeyAlgorithms=+ssh-dss admin@yogindar.com

 

Source: SSH returns: no matching host key type found. Their offer: ssh-dss – Ask Ubuntu