muzea / note

0 stars 0 forks source link

known_hosts校验公钥有点拙计 #4

Open muzea opened 6 years ago

muzea commented 6 years ago

突然就

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
SHA256:rsqug8OwufxEcqj5Q887t1zYxiq76cYGPcQBptNvIfI.
Please contact your system administrator.
Add correct host key in /Users/<我的名字>/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/<我的名字>/.ssh/known_hosts:2
RSA host key for github.com has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

突然就校验不过了,大概看了下是美西DNS解析到 192.30.255.112 新加坡解析到 192.30.255.113 导致的,先码一下