一、场景 克隆代码库发生报错 二、具体报错信息 Unable to neGotiate with XXX port : no matching host key type found. Their offer: ssh-rsa,ssh-ds
克隆代码库发生报错
Unable to neGotiate with XXX port : no matching host key type found. Their offer: ssh-rsa,ssh-dss
# 首先保证在主目录下方,如果不是先运行: cd ~
cd .sshvim config
如果没有.ssh目录就新建一个运行:mkdir .ssh
然后往config文件中添加以下信息:
Host *HosTKEyAlgorithms +ssh-rsaPubkeyAcceptedKeyTypes +ssh-rsa
再次尝试即可成功
来源地址:https://blog.csdn.net/qq_36936730/article/details/129663717
--结束END--
本文标题: 【已解决】Unable to negotiate with XXX port : no matching host key type found. Their offer: ssh-rsa
本文链接: https://lsjlt.com/news/388594.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0