WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

foreword

git pushWhen I pushed the code to normally today github, the following content appeared:

insert image description here

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 gityou attempted. At this point you should be asked if you trust the new SSH key. yesJust enter .

The number of inquiries may be different for different clients. I asked twice here, and it will be fine yesafter .

reference link

—————————— [End of text] ——————————

Front-end learning exchange group, if you want to come in face-to-face, you can join the group: 832485817 , 685486827 ;
Front-end top learning exchange group (1) Front-end top learning exchange group (2)

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?

Guess you like

Origin blog.csdn.net/csdn_yudong/article/details/129846840