远程登录服务报错:WARNING: REMOTE HOST ID

2020-06-13  本文已影响0人  S_jie

之前重置了阿里云的服务 然后登陆就报错了。

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:Do+D2WklpQ1SDd2teYzev/mbluiRhyRpiIxbb7ZX5ME.
Please contact your system administrator.
Add correct host key in /Users/shujie/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/shujie/.ssh/known_hosts:3
ECDSA host key for 47.240.173.252 has changed and you have requested strict checking.
Host key verification failed.

解决办法:
第一步:
cd ~/.ssh
第二步:
vi known_hosts
第三步:
将包含你ip地址 ssh-rsa 开头的ssh Key删除掉即可解决问题。

上一篇下一篇

猜你喜欢

热点阅读