Github 报错如下:
kex_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.
解决方法如下:
编辑 ~/.ssh/config 文件
1  | Host github.com  | 
参考文档:
后面频繁出现 time out,解决方法,加代理
1  | # 必须是 github.com  | 
参考文档: