3
5

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

SSHでUnable to negotiate with ...とでて、接続できないときの対処法

Posted at

エラーの状態

以下のようなエラーが発生したときの対処法です

$ ssh hogehoge
Unable to negotiate with X.X.X.X port 22: no matching cipher found. Their offer: crypticore128@ssh.com,aes128-cbc,aes192-cbc,aes256-cbc,seed-cbc@ssh.com,3des-cbc

対処法

~/.ssh/configに以下を追記すれば、エラーは消えて接続できました。

~/.ssh/config
Host *
  SendEnv LANG LC_*
  Ciphers +aes256-cbc

原因

おそらくHigh Sierraにアップデートしたことで起こるようになったようです。

参考

3
5
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
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?