当前位置: 技术问答>linux和unix
ssh更换虚拟服务器后
来源: 互联网 发布时间:2016-10-19
本文导语: 我把原来的linux虚拟机删除了,又装了一个虚拟机,还用的同一个IP,结果ssh后提示 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
我把原来的linux虚拟机删除了,又装了一个虚拟机,还用的同一个IP,结果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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
ce:7f:05:44:3b:f6:c2:0e:86:b6:5d:b4:88:eb:1c:12.
Please contact your system administrator.
Add correct host key in /home/newer/.ssh/known_hosts to get rid of this message.
Offending key in /home/newer/.ssh/known_hosts:10
RSA host key for 192.168.0.36 has changed and you have requested strict checking
.
Host key verification failed.
请问,还如何配置
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
ce:7f:05:44:3b:f6:c2:0e:86:b6:5d:b4:88:eb:1c:12.
Please contact your system administrator.
Add correct host key in /home/newer/.ssh/known_hosts to get rid of this message.
Offending key in /home/newer/.ssh/known_hosts:10
RSA host key for 192.168.0.36 has changed and you have requested strict checking
.
Host key verification failed.
请问,还如何配置
|
用vi打开/home/newer/.ssh/known_hosts文件 把里面的这个ip所在的行全部删除!
|