ssh 出現 no matching host key type found. Their offer: ssh-rsa,ssh-dss

利用 SSH 出現
ssh user@192.168.0.111
Unable to negotiate with 192.168.0.111 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

OpenSSH 7.0 以後不在支援 ssh-dsa算法
需增加 -oHostKeyAlgorithms=+ssh-dss
ssh -xp 22 -oHostKeyAlgorithms=+ssh-dss ssh user@192.168.0.111

本篇發表於 未分類。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>