Git相关

107 阅读1分钟

1. no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

image.png

解决办法: 在用户目录下的 .ssh 文件夹下新建一个 config 文件. config文件内容:

Host *
KexAlgorithms +diffie-hellman-group1-sha1

image.png

重新git clone即成功!