标签 github 下的文章

之前部署了一个脚本同步 Gitee 代码到 Github 刚发现无法同步了。 从日志看到,2024.01.17 开始,无法连接上服务器: ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from remote repository. 通过站长工具 https://ping.chinaz.com/github.com 看到 国内都无法直接访问 Github ,同步服务部署在群晖,安装梯子也会比较麻烦。 可以看到部分IP能够通,我们可以修改 host 以访问 Windows 以管理员打开 C:\Windows\System32\drivers\etc\hosts 添加如下内容 20.200.245.247 github.com 这里的IP不是固定的,需要从如上网页中

- 阅读剩余部分 -