no matching host key type found. Their offer: ssh-rsa,ssh-dss Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
git clone或者更新或者各种,一般由于ssh版本与服务器版本不一致造成,说不一致,其实是因为不兼容之前的算法了,所以,如果你是这个算法的临界版本,那么其中由一方不支持这个算法,就会出现这个问题;
找到git安装文件,
打开ssh_config,添加下方配置即可;
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa