工具mac virtualbox
搭建linux用termial链接报错
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
······
这个问题是termial记住了原来此网址的虚拟机,现在重新分配此网址给新虚拟机,链接失败。
解决方法:
1、查看本机记录
cat ~/.ssh/known_hosts
在里面会找到所属ip的记录
2、删除文件中对应记录
vim ~/.ssh/known_hosts
3、删除后保存
:wq