Git clone 报错 Unable to negotiate

2020-07-08  本文已影响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

上一篇 下一篇

猜你喜欢

热点阅读