V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
CrazyRabbit
V2EX  ›  问与答

mac 从 git 上拉代码出现了难以解决的问题

  •  
  •   CrazyRabbit · Mar 2, 2017 · 2634 views
    This topic created in 3353 days ago, the information mentioned may be changed or developed.
    在自己的 mac 上把 git 已经配置好, id_rsa.pub 中的内容也复制到了服务器上,但是克隆代码到本地总是报这个错误:unable to negotiate with xx.xx.xx.xx:no matching key exchange method found.their offer:diffie-hellman-group1-sha1
    fatal:could not read from remote repository.
    please make sure you have the correct access rights and rhe repository exists.
    公司的项目,以前在自己的 pc 上弄过,没出现过这个情况,倒腾了好几天了,希望 v2 上的大神能帮忙解决下,多谢了
    5 replies    2017-03-03 09:41:22 +08:00
    CrazyRabbit
        1
    CrazyRabbit  
    OP
       Mar 2, 2017 via Android
    自己顶
    Dvel
        2
    Dvel  
       Mar 2, 2017
    dreamaero
        3
    dreamaero  
       Mar 3, 2017 via iPhone
    重新生成一个密钥试试吧,公私钥可能不对应了。
    DravenJohnson
        4
    DravenJohnson  
       Mar 3, 2017
    Gitlab?
    zhanglintc
        5
    zhanglintc  
       Mar 3, 2017
    我也觉的可以试试再重新生成一次密钥. 如果还是不行再讨论.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1149 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 23:19 · PVG 07:19 · LAX 16:19 · JFK 19:19
    ♥ Do have faith in what you're doing.