2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > centos升级openssh之后 连接报错Add correct host key in /root/.ssh/known_hosts to get rid of this message

centos升级openssh之后 连接报错Add correct host key in /root/.ssh/known_hosts to get rid of this message

时间:2019-01-21 17:32:10

相关推荐

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

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。