问题描述
(base) ➜ test git:(dev) git pull
kex_exchange_identification: Connection closed by remote host
Connection closed by 192.30.255.113 port 22
致命错误:无法读取远程仓库。
解决方案
参照下边文档
https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port
- 进入config文件
(base) ➜ .ssh vi ~/.ssh/config
- 添加下述配置
Host github.com
Hostname ssh.github.com
Port 443
User git
- 结果如下图

- 运行如下代码进行验证
$ ssh -T git@github.com
> Hi USERNAME! You've successfully authenticated, but GitHub does not
> provide shell access.
- 如果都没问题,重新git pull自己代码仓库里的代码,发现可以正常拉取,问题至此解决










![[MQ]Win平台RocketMQ安装启动](https://img-blog.csdnimg.cn/5283b373baef44b8b00542ddcc27a348.png)

![2023年全球及中国小分子化药CDMO市场发展概况分析:CDMO市场有望进一步扩大[图]](https://img-blog.csdnimg.cn/img_convert/484a61d9eb9a72da566509b0d6472d11.png)


![2023年中国少儿在线英语教育分类、市场规模及发展趋势分析[图]](https://img-blog.csdnimg.cn/img_convert/a6198e615a6148a86a51cbfc35667eb1.png)


![2023年全球及中国抗体/蛋白/非核酸疫苗CDMO市场分析:生物药CDMO规模同步增长[图]](https://img-blog.csdnimg.cn/img_convert/e722f5dd0dab7522f4b3ccb6312fe34e.png)
