SSH 失败并显示错误 - Their offer: ssh-dss Connection closed.
Issue
- SSH 失败并显示以下错误。
-
从
RHEL 6
和RHEL 7
进行RHEL 8
或RHEL 9
系统的 ssh 会话时抛出以下错误: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.