LoginSignup
15
13

More than 5 years have passed since last update.

Server does not support diffie-hellman-group1-sha1 for keyexchange

Last updated at Posted at 2014-12-25

poderosaから接続できなかったので調査。

参考

openssh-6.7から KexAlgorithms のデフォルトが変更されています。
diffie-hellman-group1-sha1 は現在の基準では弱い鍵交換アルゴリズム
なためデフォルトでは無効になっています。
diffie-hellman-group1-sha1 しか使えない古いクライアントをお使い
の場合は、クライアントを新しい近代的なものに変更することをおすす
めします。
(どうしても使いたい場合は sshd_config で変更することで使えるかも
しれませんが、推奨はしません。see man sshd_config)

暫定的な対処

/etc/ssh/sshd_config
+ KexAlgorithms diffie-hellman-group1-sha1
systemctl restart sshd
15
13
3

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
15
13