在git clone 项目的时候, 居然报错了:no matching key exchange method found. Their offer: diffie-hellman-group1-sha1git
那么,想要解决此问题, 则须要在用户目录下的 .ssh文件夹下新建一个 config 文件,添加:ssh
Host * spa
KexAlgorithms +diffie-hellman-group1-sha13d
而后,再从新执行 git clone :blog
至此, git clone 成功, 问题解决!it