好奇怪,这两天 github 通过 ssh 的方式无法 push 或 pull 了

2024-01-18 09:31:27 +08:00
 kylebing

2024-01-18
这两天发现无法跟 github 交互了,我所有的项目都是以 git@github.com:KyleBing/xxxx.git 的方式使用的,不想改成 https:// 。
反正现在是无法 push | pull 了,本地电脑和服务器的 ssh key 都已加到了 github 账户中,以前正常使用的,这两天都不行了,不知道什么原因,有遇到这种情况的没有?是 github 抽了?我电脑抽了?

ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
4169 次点击
所在节点    GitHub
29 条回复
codelover612
2024-01-18 14:03:01 +08:00
我也是,梯子解决
equationzhao
2024-01-18 14:10:56 +08:00
demonchang
2024-01-18 14:13:57 +08:00
我是改 hosts 140.82.112.3 github.com
magicZ
2024-01-18 16:36:52 +08:00
@horizon nice ,可行
susheng
2024-01-20 00:43:34 +08:00
@demonchang 这个可行,问下 ip 怎么找的?
demonchang
2024-01-22 09:21:32 +08:00
@susheng 也是网上搜的
GodVan
2024-01-22 15:15:54 +08:00
6 ,lz 的方法可用!
xinshoushanglu
2024-01-26 16:28:35 +08:00
太蛋疼了,github 突然改了这个,我挂代理 也是 git 命令全部不通
xinshoushanglu
2024-01-26 16:55:26 +08:00
先本地加 hosts 的 github 解析记录了,太蛋疼了,挂代理 ssh git 都不行

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://yangjunhui.monster/t/1009542

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX