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需要在用户目录下的 .ssh文件夹下新建一个 config 文件,添加:
Host *
KexAlgorithms +diffie-hellman-group1-sha1
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论