首页 > 其他 > 详细

git clone时出现:"diffie-hellman-group1-sha1 "

时间:2018-03-12 17:46:32      阅读:884      评论:0      收藏:0      [点我收藏+]

解决办法1:在用户配置目录下添加一个ssh配置文件

vim /root/.ssh/config  内容如下:

Host *
    KexAlgorithms +diffie-hellman-group1-sha1

解决方法2: 在ssh全局配置目录下添加一个ssh配置文件

vim /etc/ssh/ssh_config.d/ssh_xx.conf  内容如下:

Host *
    KexAlgorithms +diffie-hellman-group1-sha1

 

 

 

git clone时出现:"diffie-hellman-group1-sha1 "

原文:https://www.cnblogs.com/noxy/p/8550281.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!