首页 > 技术文章 > Add correct host key in /root/.ssh/known_hosts to get rid of this message

zhengze 2019-03-05 14:23 原文

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

  

推荐阅读