Git clone 报错 Unable to negotiate with xxx.xxx.xxx.xxx port 12345: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc

git clone 报错 

Unable to negotiate with xxx.xxx.xxx.xxx. port 12345: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc

解决:

# sudo nano /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下面

参考https://discussions.apple.com/thread/8196671?answerId=32769748022#32769748022

 

 

posted @ 2018-10-18 21:25  温柔的风  阅读(1854)  评论(0编辑  收藏  举报