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

转载自:http://blog.csdn.net/junheart/article/details/51324848

升级到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

上一篇:解决spring-cloud-gateway的websocket出现Max frame length of 65536 has been exceeded的问题


下一篇:期权量化学习(3)——找到交易对象