
有人遇到么,
github 调整了什么策略么?clash 出现 bug 了, 导致无法 ssh 方式无法走代理?git 出现 bug 了, git version: git version 2.43.0.windows.1|  |      1daxin945      2024-01-29 09:30:06 +08:00 是不是密钥失效了? | 
|  |      2Martens      2024-01-29 09:33:06 +08:00 +1 我也遇到了,还以为是代理的问题 | 
|      3silverwolf      2024-01-29 09:33:50 +08:00 网上复制的一段我用的代理办法 <pre> # ~/.ssh/config Host github.com Hostname github.com ServerAliveInterval 55 ForwardAgent yes ProxyCommand nc -x 127.0.0.1:10808 %h %p </pre> | 
|  |      4vicalloy      2024-01-29 09:35:27 +08:00 最近一直这样,我还以为是个例。 | 
|      5purplemystic OP @daxin945 不行, 重新生成了, 也不行 | 
|  |      6silencetea      2024-01-29 09:36:12 +08:00  2 | 
|  |      7jonah      2024-01-29 09:37:04 +08:00 配置 http.proxy 对 SSH 不起作用,SSH 需要单独配置。 [Git 使用 SSH 传输协议的代理方法 ]( https://ericclose.github.io/git-proxy-config.html#Git-%E4%BD%BF%E7%94%A8-SSH-%E4%BC%A0%E8%BE%93%E5%8D%8F%E8%AE%AE%E7%9A%84%E4%BB%A3%E7%90%86%E6%96%B9%E6%B3%95) | 
|      8purplemystic OP @Martens 我将能怀疑的都怀疑了一遍, 哈哈 | 
|      9purplemystic OP @jonah 之前都是可以的, 能够识别代理的 | 
|  |      10AresChang      2024-01-29 09:38:50 +08:00  1 | 
|  |      11sunny2580839896      2024-01-29 09:40:19 +08:00 +1 | 
|  |      12chunqiuyiyu      2024-01-29 09:40:34 +08:00 | 
|      13XXWHCA      2024-01-29 09:41:39 +08:00  2 ssh 代理需要单独配置 ``` cat .ssh/config Host github.com Hostname ssh.github.com IdentityFile /Users/xxx/.ssh/id_ed25519 User git Port 443 ProxyCommand nc -v -x 127.0.0.1:7890 %h %p ``` | 
|  |      14jonah      2024-01-29 09:41:53 +08:00 @purplemystic 我之前不配代理 https 和 ssh 都可以访问的,最近感觉墙厚了 ╮(╯_╰)╭ | 
|  |      15licoycn      2024-01-29 09:42:38 +08:00 同步一下 hosts 即可: https://github.com/Licoy/fetch-github-hosts | 
|      16purplemystic OP @silencetea 按照你给的配置后, 可以生效, 赞 | 
|      17doco      2024-01-29 09:45:44 +08:00 听说是新加坡的 github 地址有问题, 换美国那边的 vpn 大概率解决问题 | 
|      18purplemystic OP @doco 不行的, 因为 Copilot 和 ChatGPT 原因, 我一直使用的是美国的 | 
|      19doco      2024-01-29 09:52:57 +08:00  1 @purplemystic 看一下你连的 github 的 ip 是哪个吧, 20.205.243.166 这个好像不行, 140.82.113.4 这个应该是没问题的 | 
|      20purplemystic OP | 
|  |      21MrQSJ      2024-01-29 10:03:24 +08:00 可以换成 https ,我遇到之后用 https+代理,通过了 | 
|  |      22crysislinux      2024-01-29 10:06:07 +08:00 via Android 我的没问题,走的香港。不过 github 本身也是推荐用 https ,你就换 https 好了。 | 
|      23purplemystic OP @crysislinux 不是应该推荐使用 ssh 方式么? | 
|      24Alliot      2024-01-29 10:21:53 +08:00 via Android https://www.iots.vip/post/elegant-solution-git-multiple-accounts-proxy-issues.html  可以参考一下 | 
|  |      25villivateur      2024-01-29 10:22:02 +08:00 | 
|  |      27shelken      2024-01-29 10:38:39 +08:00  2 | 
|  |      280x723b      2024-01-29 10:42:47 +08:00  1 | 
|  |      29devliu1      2024-01-29 10:43:52 +08:00 via Android 墙了 楼上说过了 | 
|  |      30rockxsj      2024-01-29 10:54:53 +08:00 | 
|      31wudx      2024-01-29 11:14:05 +08:00 直接 ``` export https_proxy=http://127.0.0.1:7890;export http_proxy=http://127.0.0.1:7890;export all_proxy=socks5://127.0.0.1:7890 ``` 不就可以了吗 | 
|  |      33wonderfulcxm      2024-01-29 11:24:32 +08:00 via iPhone 就算 ssh ,clash pro 增强模式应该也可以直接走代理吧。 | 
|      34purplemystic OP @0x723b 这个也是一个解决方法 | 
|  |      35nagisaushio      2024-01-29 11:30:51 +08:00 via Android 用 proxychains 就好了,命令行网不好直接加个前缀 | 
|  |      36defunct9      2024-01-29 11:31:56 +08:00 | 
|      37d4fg4      2024-01-29 12:38:03 +08:00 via Android 机场会屏蔽 22 端口 | 
|  |      38danhua      2024-01-29 13:39:03 +08:00 设置一下 git SSH 代理就可以了,上周也碰见了。通过这个方式可以正常访问了。 | 
|  |      39litguy      2024-01-29 14:16:38 +08:00 早晨试着 clone 了代码 用 socks5 代理,很快 | 
|  |      40BardOS      2024-01-29 15:41:05 +08:00 我都是用 bat 自动更新 github520 这个 hosts 文件,速度一直挺快的。 | 
|  |      41IvanLi127      2024-01-30 09:11:50 +08:00 via Android 机场不好。不想换机场节点就试试 ssh over https ,github 有支持。 |