错误:fatal: Could not read from remote repository 和 no matching cipher found
解决方案: https://discussions.apple.com/message/32769748#32769748
https://blog.csdn.net/shuyumac/article/details/79283150
- 进入terminal,输入
sudo nano /etc/ssh/ssh_config
- 找到
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blow fish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour
这行 - 在它后面添加一行
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
之后再提交git等,到局域网的就都好使了。
也可以增加局域网ip描述到config中
Host 192.168.0.1 Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
网友评论