当我们使用GitHub提交本地代码时,可能会提示:
fatal: unable to access ‘https://github.com/…’: OpenSSL SSL_read: Connection was aborted, errno 10053
网上的解决方案大多数:
1.增加缓冲
git config http.postBuffer 524288000
2.更改网络认证设置
git config http.sslVerify "false"
其实这个问题在官方的文档中已经给出了解决方案,当时没注意这一点(惭愧.jpg):需要注册并运行ssh-agen,而不是强制关闭它,这里附上官方文档的链接:
GitHub Docs