LoginSignup
5
3

More than 5 years have passed since last update.

気付いたらvagrant sshでssh_exchange_identification: Connection closed by remote hostと言われるようになっていたので対処

Posted at

ググる。

~/.ssh/known_hostsの削除。
効果なし。

ユーザーとか鍵のパーミッションとか。
身に覚えがない……。

virtualboxから停止して再度vagnrant upしたら接続できた。
これが原因なのかもしれないけど普通に再起動で直るやつだったのかもしれない。

同時期にgitでもsshを使っていたので、その設定とぶつかったのかも。
困ったら再起動というのは

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