git---How to resolve The authenticity of host 'github.com (192.30.255.112)' can't be established.

When a new key is generated, when git clone or push, this error is often reported:

?
1
2
The authenticity of host 'github.com (192.30.255.112)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.

Google later understood that there was one known_hosts file missing. Originally, there should be three key files, but now there are two, and such an error was reported. At this time, after selecting yes and pressing Enter, the missing known_hosts file was generated at the same time. :

?
1
Are you sure you want to continue connecting (yes/no)? //输入yes,回车
      YES press Enter to solve it, don't press Enter directly

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325518173&siteId=291194637