升级macOS,git 报错no matching key exchange method found 解决方法
打开终端,输入以下命令:
cd /etc
open ssh
拷贝ssh_config文件
在Host * 下面添加(无#号)
KexAlgorithms +diffie-hellman-group1-sha1
拖入替换即可
升级macOS,git 报错no matching key exchange method found 解决方法
打开终端,输入以下命令:
cd /etc
open ssh
拷贝ssh_config文件
在Host * 下面添加(无#号)
KexAlgorithms +diffie-hellman-group1-sha1
拖入替换即可
转载于:https://my.oschina.net/u/2436242/blog/750816