问题一

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上即可

参考文档

https://juejin.cn/post/7110840314994098207