git clone 命令报错 +diffie-hellman-group1-sha1

解决方法:

在.ssh目录下新建文件config ,

添加

Host *
KexAlgorithms +diffie-hellman-group1-sha1

到文件config,即可。

posted @ 2016-07-04 11:21  Coding-Null  阅读(406)  评论(0编辑  收藏  举报