我是靠谱客的博主 自信季节,这篇文章主要介绍git报错client_global_hostkeys_private_confirm: server gave bad signature for RSA key 0,现在分享给大家,希望可以做个参考。
报错信息:
client_global_hostkeys_private_confirm: server gave bad signature for RSA key 0
意思是:客户端全局主机密钥私有确认:服务器为RSA密钥0提供了错误签名
我在使用下面的指令git提交时出现的
git add .
git commit -m 'feat :提交'
git push origin 分支名
解决方案:
方案一:确保你的~/.ssh/config包含以下内容:
Host gitlab.com
UpdateHostKeys no
方案二:可以试试重新重新生成公私钥
参考 https://stackoverflow.com/questions/67401049/pulling-from-git-fails-and-gives-me-following-error-client-global-hostkeys-priv
最后
以上就是自信季节最近收集整理的关于git报错client_global_hostkeys_private_confirm: server gave bad signature for RSA key 0的全部内容,更多相关git报错client_global_hostkeys_private_confirm:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复