解決: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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM