升级macOS,git 报错no matching key exchange method found 解决方法

升级macOS,git 报错no matching key exchange method found 解决方法git

打开终端,输入如下命令:ssh

cd /etcit

open ssh终端

拷贝ssh_config文件方法

在Host * 下面添加(无#号)di

KexAlgorithms +diffie-hellman-group1-sha1文件

拖入替换便可升级

相关文章
相关标签/搜索