在新公司使用Git克隆项目时遇到
Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
fatal: Could not read from remote repository. 错误时
使用 如下命令即可
git config --global core.sshcommand "ssh -o KexAlgorithms=+diffie-hellman-group1-sha1"
此类问题上面错误需要什么 诸如 diffie-hellman-group1-sha1 我们动态的去命令中修改就好



