关于git:git报错no-matching-key-exchange-method-found

git报错:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

须要在用户目录下的 .ssh文件夹下新建一个 config 文件,增加:

Host *
 KexAlgorithms +diffie-hellman-group1-sha1

原文:http://www.mamicode.com/info-detail-2358181.html

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理