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

About the Author

Yogi

24 years of experience in various layers of software. Primarily experienced in system side software design and development on server management software. Interested in linux development in x86 and arm architecture.