Phenomenon of the problem:
root@DESKTOP MINGW64 /f/git
$ git clone "ssh://abc@gerrit.abc.com:/test-repo"
Cloning into 'test-repo'...
Unable to negotiate with gerrit.abc.com port 12345: 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.
Cause of the problem: OpenSSH considers ssh-rsa encryption to be insecure and defaults to prohibiting ssh-rsa connection methods
Solution:
Modify
C:\\Program Files\Git\etc\ssh\ssh_configAdd:
Host * KexAlgorithms +diffie-hellman-group1-sha1 HostkeyAlgorithms +ssh-dss,ssh-rsa PubkeyAcceptedKeyTypes +ssh-dss,ssh-rsa
Take effect after saving, can be cloned normally with git clone

若无法加载请检查网络环境。
若无法加载请检查网络环境,或切回 Disqus 稍后再试。