windows 的git用ssh拉代码,提示以下错误:
Unable to negotiate with 10.106.41.111 port 7999: 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/config增加:
Host 10.106.41.111
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
本文指导如何解决Windows下使用Git通过SSH从10.106.41.111拉取代码时遇到的ssh-rsa不匹配主机键类型错误,包括在.ssh/config文件中配置解决步骤。
4060

被折叠的 条评论
为什么被折叠?



