最近无法通过 ssh 方式 clone github 项目

查看 326|回复 30
作者:purplemystic   
failed to clone repo by ssh

有人遇到么,
  • 是 github 调整了什么策略么?
  • 还是 clash 出现 bug 了, 导致无法 ssh 方式无法走代理?
  • 或者 git 出现 bug 了, git version: git version 2.43.0.windows.1

    clone, ssh, GitHub, failed

  • daxin945   
    是不是密钥失效了?
    Martens   
    +1 我也遇到了,还以为是代理的问题
    silverwolf   
    网上复制的一段我用的代理办法
    # ~/.ssh/config
    Host github.com
    Hostname github.com
    ServerAliveInterval 55
    ForwardAgent yes
    ProxyCommand nc -x 127.0.0.1:10808 %h %p
    vicalloy   
    最近一直这样,我还以为是个例。
    purplemystic
    OP
      
    @daxin945 不行, 重新生成了, 也不行
    silencetea   
    https:///t/843383
    jonah   
    配置 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)
    purplemystic
    OP
      
    @Martens 我将能怀疑的都怀疑了一遍, 哈哈
    purplemystic
    OP
      
    @jonah 之前都是可以的, 能够识别代理的
    您需要登录后才可以回帖 登录 | 立即注册

    返回顶部