foreword
git push
When I pushed the code to normally today github
, the following content appeared:
reason
This happened because on March 24, 2023, GitHub updated the RSA SSH host key used to secure GitHub.com's Git operations after the private key was briefly exposed in a public GitHub repository. If you remember GitHub's previous key fingerprint in your SSH client before that date, you will get this message.
Solution
You need to delete the stored key by running:
$ ssh-keygen -R github.com
Once complete, you can re-run the command git
you attempted. At this point you should be asked if you trust the new SSH key. yes
Just enter .
The number of inquiries may be different for different clients. I asked twice here, and it will be fine
yes
after .
—————————— [End of text] ——————————
Front-end learning exchange group, if you want to come in face-to-face, you can join the group: 832485817 , 685486827 ;
Written at the end: convention is better than configuration - the principle of simplicity in software development
—————————— 【End】 ——————————
My:
Personal website: https://neveryu.github.io/neveryu/
Github: https://github.com/Neveryu
Wechat: miracle421354532
For more learning resources, please pay attention to my WeChat... okay?