I create virtual machines using Vagrant + VirtualBox + CentOS 6.5 (insert). Each time I issue a command vagrant upand SSH in the VM, I get the following message.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@
@ 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: VGRuX5IMJOd + PW6T4jo / ONm6D8vClUmVEaSI7j / nWb8.
Please contact your system administrator.
Add correct host key in /home/root/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/root/.ssh/known_hosts:6
RSA host key for weetube has changed and you have requested strict checking.
Host key verification failed.
Pay attention to the following.
- The virtual machine is set to a static IP address (for example, 10.211.55.10)
- the host computer (Windows) has a modified host file (e.g. 10.211.55.10 myvm)
- I am using cygwin for SSH (e.g. ssh root @myvm)
I also tried booting by copying / etc / ssh to / vagrant / ssh and then to VM position, copy / vagrant / ssh / * back to / etc / ssh, but that doesn't seem to help.
- ( Cygwin) myvm ~/.ssh/known_hosts. , (, vagrant up).
, ?