从git上clone项目的时候报错
Unable to negotiate with 47.98.49.44 port 22: no matching host key type found. Their offer: ssh-rsa Could not read from remote repository. Please make sure you have the correct access rights and the repository exists
只需要找到你本地的ssh目录(比如:mac:/Users/zjs/.ssh win:C:\Users\Administrator.ssh)
然后新增文件config,并在文件中新增如下
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa