本文主要是介绍centos升级openssh之后,连接报错Add correct host key in /root/.ssh/known_hosts to get rid of this message,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
报错提示
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
这篇关于centos升级openssh之后,连接报错Add correct host key in /root/.ssh/known_hosts to get rid of this message的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!