升級macOS,git 報錯no matching key exchange method found 解決方法git
打開終端,輸入如下命令:ssh
cd /etcit
open ssh終端
拷貝ssh_config文件方法
在Host * 下面添加(無#號)di
KexAlgorithms +diffie-hellman-group1-sha1文件
拖入替換便可升級