【git】 OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

修改/etc/hosts文件,删掉以下

bash 复制代码
192.30.253.113 github.com
192.30.253.113 github.com
192.30.253.118 gist.github.com
192.30.253.119 gist.github.com
#172.24.132.179 gerrit.sdp.nd
140.82.112.25 alive.github.com
140.82.114.6 api.github.com
185.199.110.153 assets-cdn.github.com
140.82.113.22 central.github.com
185.199.108.133 cloud.githubusercontent.com
140.82.113.9 codeload.github.com
140.82.112.22 collector.github.com
140.82.112.4 gist.github.com
52.216.146.155 github-cloud.s3.amazonaws.com
52.217.204.137 github-com.s3.amazonaws.com
54.231.163.81 github-production-release-asset-2e65be.s3.amazonaws.com
52.217.44.156 github-production-repository-file-5c1aeb.s3.amazonaws.com
52.216.54.145 github-production-user-asset-6210df.s3.amazonaws.com
192.0.66.2 github.blog
140.82.112.4 github.com
140.82.114.17 github.community
185.199.109.154 github.githubassets.com
151.101.65.194 github.global.ssl.fastly.net
185.199.110.153 github.io
185.199.110.153 githubstatus.com
140.82.112.25 live.github.com
13.107.43.16 pipelines.actions.githubusercontent.com
13.107.238.40 vscode.dev

然后就好了

相关推荐
qianmoQ4 小时前
GitHub 趋势日报 (2025年08月07日)
github
wdfk_prog11 小时前
实战教程:从“对象文件为空“到仓库重生——修复 Git 仓库损坏全记录
大数据·网络·笔记·git·学习·elasticsearch·全文检索
ALex_zry13 小时前
Git Status 命令深度指南:洞悉仓库状态的核心艺术
大数据·git·elasticsearch
啃火龙果的兔子14 小时前
如何在 VS Code 中进行 `cherry-pick`
git
夜里慢慢行45615 小时前
git工程多个remote 拉取推送
git
啃火龙果的兔子17 小时前
Git `cherry-pick` 工具汇总
git
Ailerx20 小时前
OpenAI隆重推出开源大模型:GPT-OSS
gpt·语言模型·开源·大模型·github·开源协议
YuforiaCode21 小时前
解决GitHub push失败-Failed to connect to github.com port 443: Timed out
github
Leinwin1 天前
GitHub Spark公共预览版上线
大数据·spark·github
ALex_zry1 天前
Git 乱码文件处理全流程指南:从识别到彻底清除
git·elasticsearch·搜索引擎