解决Centos6.5中ssh登录时Warning:Permanently added (RSA) to the list of known hosts的警告 - Go语言中文社区

解决Centos6.5中ssh登录时Warning:Permanently added (RSA) to the list of known hosts的警告


当主机使用ssh免密码登录时,弹出Warning:Permanently added (RSA) to the list of known hosts的警告,看着很碍眼。通过以下方法进行解决:

1:vim  /etc/ssh/ssh_config(master和slave1都需要设置)

找到#StrictHostKeyChecking ask去掉注释,并把ask改为no即可



版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/mmake1994/article/details/79715359
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2020-02-25 01:11:39
  • 阅读 ( 1314 )
  • 分类:Linux

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢