mac升级10.13后git不可用问题 no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc

no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc

解决方法:
sudo nano /etc/ssh/ssh_config

Find the line:

#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour

Insert a new line directly underneath and paste this line in:

Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc

Save the file and exit.  ssh should work as usual.

猜你喜欢

转载自blog.csdn.net/shuyumac/article/details/79283150