Mac 升級後git pull報錯,以下:git
Unable to negotiate with 10.0.0.21 port 29418: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbcmacos
fatal: Could not read from remote repository.vim
Please make sure you have the correct access rights安全
and the repository exists.ssh
解決方法:加密
Sudo vim /etc/ssh/ssh_config 最後添加一行:spa
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc.net
ps:macos系統安全升級,ssh默認再也不採用原有的部分加密方式,須要用戶手動添加。3d
ssh_config 是針對ssh客戶端配置文件ip
sshd_config 是針對ssh服務的配置文件,Ciphers表明客戶端登陸支持的加密方式