Discuz! Board

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1808|回复: 0
打印 上一主题 下一主题

解决:no matching key exchange method found. Their offer: diffie-hellman-grou...

[复制链接]

55

主题

78

帖子

289

积分

认证用户组

Rank: 5Rank: 5

积分
289
跳转到指定楼层
楼主
发表于 2017-3-7 16:34:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
升级到ubuntu-16.04后,发现Git-review代码报错:
Could not connect to gerrit at ...
  • 1
  • 1
执行
$ ssh -i ~/.ssh/id_rsa.pub -p 29418 192.168.1.101
  • 1
  • 1
报错:
Unable to negotiate with 192.168.1.101 port 29418: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
解决:修改~/.ssh/config,加入
Host *    KexAlgorithms +diffie-hellman-group1-sha1
  • 1
  • 2
[url=][/url]

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )

GMT+8, 2024-4-19 17:26 , Processed in 0.057491 second(s), 19 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表