在执行repo init 本地克隆git仓时出现如下错误:
Unable to negotiate with ×××× port ××××: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
解决方法:
在.ssh/目录下新建config文件,添加以下内容:
Host *
Port ****
KexAlgorithms +diffie-hellman-group1-sha1