0
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 3 years have passed since last update.

WindowsでSSH接続のコマンドを打つと「Couldn't agree a key exchange algorithm」となるエラー解消

Posted at

症状

  • Windows 10 で ssh 接続のコマンドをコマンドプロンプト or PowerShell で打つとアラートが表示される
FATAL ERROR: Couldn't agree a key exchange algorithm (available: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256)

原因

  • ssh コマンドを打ったときに PuTTY Link: command-line connection utility 経由になってしまっている
  • PuTTY の ver. が古いせい
  • Gow ( Gnu On Windows ) がインストールされている

解決

  • Gow をアンインストールする

感想

  • ここ最近で一番ハマッてしまった……
0
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
0
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?