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

bug:

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

解决办法:

rm ~/.ssh/known_hosts

vim /etc/ssh/ssh_config:

StrictHostKeyChecking no

UserKnownHostsFile /dev/null

  

原文地址:https://www.cnblogs.com/zhengze/p/10476522.html