linux 发表于 2017-3-7 16:34:20

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

升级到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
http://static.blog.csdn.net/images/save_snippets_01.png

页: [1]
查看完整版本: 解决:no matching key exchange method found. Their offer: diffie-hellman-grou...