github 新增 ssh key 是不是不好使了

2022-09-23 21:32:23 +08:00
 aladdinding

生成公私钥的时候没有设置密码

已经添加了 key 但是还是提示要密码

换了好几台机器都不行

之前存在 key 没事

1056 次点击
所在节点    问与答
7 条回复
aladdinding
2022-09-23 21:36:43 +08:00
git clone 的时候
likaci
2022-09-23 21:38:05 +08:00
clone 用的 https 地址?
aladdinding
2022-09-23 21:47:31 +08:00
@likaci 肯定不是哇 ssh 的
caomingjun
2022-09-23 22:00:45 +08:00
aladdinding
2022-09-23 22:43:18 +08:00
@caomingjun 我擦 好像还真是
是不是天朝网络问题
$ ssh -T git@github.com -v
OpenSSH_8.5p1, OpenSSL 1.1.1k 25 Mar 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to github.com [::1] port 22.
debug1: connect to address ::1 port 22: Connection refused
debug1: Connecting to github.com [223.75.236.241] port 22.
debug1: Connection established.

223.75.236.241 这玩意根本不是 github 服务器
aladdinding
2022-09-23 22:47:43 +08:00
这是不是 dns 劫持啊
aladdinding
2022-09-23 22:59:54 +08:00
https://www.v2ex.com/t/881813 破案了 dns 被污染了...

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

https://www.v2ex.com/t/882512

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

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

© 2021 V2EX