錯(cuò)誤: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
- 進(jìn)入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等紊扬,到局域網(wǎng)的就都好使了。
也可以增加局域網(wǎng)ip描述到config中
Host 192.168.0.1 Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc