Unable to negotiate with ********** port 22: no matching host key type found. Their offer: ssh-rsa fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.问题原因
新的ssh客户端不支持ssh-rsa算法,要修改本地配置重新使用ssh-rsa算法。
解决方法1、卸载高版本,使用低版本git(最简单);
2、在.ssh目录中新建config配置文件,在文件中添加如下代码:(如果是dss则将rsa更换为dss即可)
Host * HostkeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa



