CentOS 6.5下SSH总提示Warning: Permanently added '****' (RSA) to the list of known hosts.
2016-06-17 18:43
686 查看
通过了免密码验证后,但每次ssh或者scp的时候还总是提示:
如果想关掉,可以看下配置文件/etc/ssh/ssh_config:
找到
然后重新做免密码ssh验证操作(ssh-copy-id)后,这个烦人的提示就再也看不见了。
Warning: Permanently added '***(IP)' (RSA) to the list of known hosts.虽然可以正常免密码远程连接成功,但是总有这个提示很多余。
如果想关掉,可以看下配置文件/etc/ssh/ssh_config:
找到
StrictHostKeyChecking no UserKnownHostsFile /dev/null如果这两个参数没注释就注释掉。
然后重新做免密码ssh验证操作(ssh-copy-id)后,这个烦人的提示就再也看不见了。
相关文章推荐
- Linux socket 初步
- Linux Kernel 4.0 RC5 发布!
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- Linux Generating SSH Keys
- 解決Linux下Android开发真机调试设备不被识别问题
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Centos6 编译安装Python
- Ubuntu Linux使用体验
- c语言实现hashmap(转载)