Skip to content

No matching host key type found. Their offer: ssh-dss

Example error message

ssh root@192.168.8.109

Unable to negotiate with 192.168.8.109 port 22: no matching host key type found. Their offer: ssh-dss

Solution

Add an entry for the host in your ~/.ssh/config

host 192.168.8.109
 hostname 192.168.8.109
 HostKeyAlgorithms=+ssh-dss
nano ~/.ssh/config
vi ~/.ssh/config

Want to make this site better? Open a PR or help fund hosting costs