首页 > 其他 > 详细

CentOS 6.5下SSH总提示Warning: Permanently added '****' (RSA) to the list of known hosts.

时间:2016-06-18 01:36:43      阅读:4143      评论:0      收藏:0      [点我收藏+]

通过了免密码验证后,但每次ssh或者scp的时候还总是提示:

Warning: Permanently added ‘***(IP)‘ (RSA) to the list of known hosts.

虽然可以正常免密码远程连接成功,但是总有这个提示很多余。

如果想关掉,可以看下配置文件/etc/ssh/ssh_config:

找到

        StrictHostKeyChecking no 
        UserKnownHostsFile /dev/null

如果这两个参数没注释就注释掉。

然后重新做免密码ssh验证操作(ssh-copy-id)后,这个烦人的提示就再也看不见了。

CentOS 6.5下SSH总提示Warning: Permanently added '****' (RSA) to the list of known hosts.

原文:http://zl1030.blog.51cto.com/274507/1790424

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!