之前的测试服务器重新安装了一下操作系统,但是在其它客户端,通过 SSH 链接时提示如下错误:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:BjnL/NfkI4NqL4HeOGqTPsYbqR9ePS70ydZPndEAus0.
Please contact your system administrator.
Add correct host key in /c/Users/Administrator.USER-20160916UP/.ssh/known_hosts to get rid of this message.
Offending RSA key in /c/Users/Administrator.USER-20160916UP/.ssh/known_hosts:8
RSA host key for 192.168.0.222 has changed and you have requested strict checkin g.
Host key verification failed.
解决办法:
在客户机上删除保存着的服务器的旧的公钥信息
执行如下命令:
ssh-keygen -R 192.168.0.222