今天拉代码时候突然报错

报错如下

Update failed
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for [xx.xx.com]:30022 has changed,
and the key for the corresponding IP address [xx.xx.xx.xxx]:30022
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ECDSA key sent by the remote host is
SHA256:SehFjly9A8VvczaIGH75s9mymN... (show balloon)

大概意思是“大意是现在连接的服务器域名和ip对应的rsa(一种身份标识)与本地的不对应,可能遭遇了dns中间人攻击blabla”

解决方案:${USER}/.ssh/konwn_hosts中有问题的那行或是删除整个konwn_hosts文件

Last modification:October 14th, 2021 at 05:03 pm
如果觉得我的文章对你有用,请随意赞赏