这是一个创建于 2761 天前的主题,其中的信息可能已经有所发展或是发生改变。
在自己的 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 条回复 • 2017-03-03 09:41:22 +08:00
|
|
1
CrazyRabbit 2017-03-02 21:40:18 +08:00 via Android
自己顶
|
|
|
2
Dvel 2017-03-02 21:51:16 +08:00
|
|
|
3
dreamaero 2017-03-03 00:58:53 +08:00 via iPhone
重新生成一个密钥试试吧,公私钥可能不对应了。
|
|
|
5
zhanglintc 2017-03-03 09:41:22 +08:00
我也觉的可以试试再重新生成一次密钥. 如果还是不行再讨论.
|