git push Connection closed by 198.18.0.175 port 22 致命错误:无法读取远程仓库。 请确认您有正确的访问权限并

97 阅读1分钟

我记录一下:

问题

使用git去拉取github代码的时候,出现了如下问题

Connection closed by ip port
致命错误:无法读取远程仓库。
请确认您有正确的访问权限并且仓库存在。

Connection closed by ip port
fatal : Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.

原因

访问 GitHub 可能会受到防火墙(Great Firewall)的限制,导致无法正常读取代码。这可能是导致在拉取 GitHub 代码时遇到问题的原因之一,当然也最有可能的就是这个情况了。

解决

切换梯节点解决

亲测有效:但是需要注意,可能操作一次切换不一定会生效,需要多次切换才会生效

总结:换节点