美文网首页
Git clone 报错 Unable to negotiate

Git clone 报错 Unable to negotiate

作者: 卡卡罗忒 | 来源:发表于2020-07-08 14:47 被阅读0次

sudo vim /etc/ssh/ssh_config
把以下代码放到指定位置,

Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
也就是Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc下面

image.png

升级12.2之后新问题
Unable to negotiate with 10.211.101.102 port 29419: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1


image.png

在文件最后加上
KexAlgorithms +diffie-hellman-group1-sha1

相关文章

网友评论

      本文标题:Git clone 报错 Unable to negotiate

      本文链接:https://www.haomeiwen.com/subject/xhlccktx.html