ssh fails with error - Their offer: ssh-dss Connection closed.
Issue
- ssh fails with following error.
-
While taking ssh session of
RHEL 8
orRHEL 9
system fromRHEL 6
andRHEL 7
throwing below error:Unable to negotiate with (IP) port 22: no matching host key type found. Their offer: ssh-dss Connection closed.
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- openssh
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.