ITeye博客

linux之ssh连接时提示“The authenticity of host xx can’t be established”

小网客 · 2014-08-20 16:54 · Linux · 操作系统 · Markdown

描述:

集群已经配置了ssh免密钥登陆,然后出现“The authenticity of host xx can’t be established”,输入yes后可以正常操作。

解决办法:

修改/etc/ssh/ssh_config:

StrictHostKeyChecking no
UserKnownHostsFile /dev/null

重启:

/etc/rc.d/init.d/sshd restart 

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。