码迷,mamicode.com
首页 > 其他好文 > 详细

gerrit升级到16.04之后连接不到服务器

时间:2016-08-02 13:17:46      阅读:260      评论:0      收藏:0      [点我收藏+]

标签:

升级到ubuntu-16.04后,发现Git-review代码报错:

Unable to negotiate with 10.140.110.77 port 29418: 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 the repository exists.

ssh -p 29418 username@seaver_addr

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

gerrit升级到16.04之后连接不到服务器

标签:

原文地址:http://www.cnblogs.com/teamoxin/p/5728705.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!