方糖文化站

Menu

mac 连接vps出错:

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 的解决

mac 连接vps出错:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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:xxxxxxxxxxxx

Please contact your system administrator.

Add correct host key in /Users/kylin/.ssh/known_hosts to get rid of this message.

Offending ECDSA key in /Users/kylin/.ssh/known_hosts:1

ECDSA host key for XXXXXXXXXXX has changed and you have requested strict checking.

Host key verification failed.

 

 

解决:

使用命令清除所连接的IP

ssh-keygen -R XX.XX.XX.XX

 

eg.

ssh-keygen -R 172.168.3.44

 

— 于 共写了775个字
— 文内使用到的标签:

发表评论

电子邮件地址不会被公开。 必填项已用*标注