ssh登录时Warning:Permanently added (RSA) to the list of known hosts的警告

当主机使用ssh免密码登录时,弹出Warning:Permanently added (RSA) to the list of known hosts的警告。 通过以下方法进行解决: vim /etc/ssh/ssh_config(master和slave1都需要设置) 找到#StrictHostKeyChecking ask去掉注释,并把ask改为no即可 效果测试
相关文章
相关标签/搜索