1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

トラブルシューティング:「port 22: no matching host key type found. Their offer: ssh-dss」でSSH接続できない

Posted at

概要

タイトルの通りです。
TryHackMe(ルーム:Linux PrivEsc)をやっていたら、
port 22: no matching host key type found. Their offer: ssh-dssが表示され、SSH接続できなくなってました。

解決方法

/etc/ssh/ssh_configHostKeyAlgorithms ssh-dss,ssh-rsaを追記する事で、SSH接続が復活しました。

原因
参考にあるように、OpenSSHの7.0からDSA(ssh-dss) の脆弱性により無効にされたことが原因のようです。

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?