Mac升级到macOS Sierra(版本 10.12或10.1

2016-09-23  本文已影响380人  Damon4Zhou

error:

Unable to negotiate with 192.168.120.246 port 29418: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

fatal: Could not read from remote repository.

修复:

1)、sudo vim /etc/ssh/ssh_config

2)、添加

Host *

KexAlgorithms +diffie-hellman-group1-sha1

上一篇 下一篇

猜你喜欢

热点阅读