ssh_exchange_identification: Connection closed by remote hostが出た時
Overview
ssh で git clone
しにいった時下記のようなログを吐き出し取得してくれませんでした。
keisuke ~:$:
->> git clone git@github.com:keisukeYamagishi/xsort.git
Cloning into 'xsort'...
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
このような場合巷では、knownhostを編集しろだの、サーバーのIPアドレスを変えるだの、サーバー側の /etc/ほにゃらら
を見直せなど色々ありますが、それでも解決しない場合、
VPNで接続しているとできない
なので、VPNの接続を解除したらうまく行くかもしれません。