在git clone 项目的时候, 竟然报错了:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

那么,想要解决此问题, 则需要在用户目录下的 .ssh文件夹下新建一个 config 文件,添加:
Host *
KexAlgorithms +diffie-hellman-group1-sha1

然后,再重新执行 git clone :

至此, git clone 成功, 问题解决!
7424

被折叠的 条评论
为什么被折叠?



