【Q&A】git 问题排查
问题一
FATAL: Unable to connect to relay host, errno=10061 kex_exchange_identification:
Connection closed by remote host Connection closed by UNKNOWN port 65535 fatal:
Could not read from remote repository.
使用ssh -v git@github.com
命令查看具体的错误在哪里,然后就就可以排查问题了
通过配置发现有两处错误:
1、github我使用了代理,但是代理port
不对,改下
2、github.com
上面配置的ssh key
被我删了,把id_rsa_github.pub
拷贝到github
上即可