push代码时遇到的问题--github-ssh私钥修改

推送代码到github时遇到:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
xxxxxxxxxx
Please contact your system administrator.
Add correct host key in /c/Users/xxx/.ssh/known_hosts to get rid of this message.
Offending RSA key in /c/Users/xxx/.ssh/known_hosts:7
RSA host key for [ssh.github.com]:443 has changed and you have requested strict checking.
Host key verification failed.
Could not read from remote repository.
			
Please make sure you have the correct access rights
and the repository exists.

是因为GitHub更新了用于保护 GitHub.com 的 Git 操作的 RSA SSH 主机密钥,也就是使用ssh和远程连接的主机推送时都会遇到这个问题,

posted @   不断寻找  阅读(118)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· DeepSeek在M芯片Mac上本地化部署
· 葡萄城 AI 搜索升级:DeepSeek 加持,客户体验更智能
历史上的今天:
2021-03-29 第八周助教总结(2021.3.22-2021.3.28)
点击右上角即可分享
微信分享提示