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

2024 年 1 月 18 日
 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.
5016 次点击
所在节点    GitHub
29 条回复
codelover612
2024 年 1 月 18 日
我也是,梯子解决
equationzhao
2024 年 1 月 18 日
demonchang
2024 年 1 月 18 日
我是改 hosts 140.82.112.3 github.com
magicZ
2024 年 1 月 18 日
@horizon nice ,可行
susheng
2024 年 1 月 20 日
@demonchang 这个可行,问下 ip 怎么找的?
demonchang
2024 年 1 月 22 日
@susheng 也是网上搜的
GodVan
2024 年 1 月 22 日
6 ,lz 的方法可用!
xinshoushanglu
2024 年 1 月 26 日
太蛋疼了,github 突然改了这个,我挂代理 也是 git 命令全部不通
xinshoushanglu
2024 年 1 月 26 日
先本地加 hosts 的 github 解析记录了,太蛋疼了,挂代理 ssh git 都不行

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

https://study.congcong.us/t/1009542

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

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

© 2021 V2EX