解决SSH登录时出现Warning: Permanently added告警问题 2015-11-23 23:30

介绍

当ssh远程拷贝时,会出现如下告警:

Warning: Permanently added 'data01,192.168.1.11' (RSA) to the list of known host

解决办法

创建~/.ssh/config文件,内容如下:

UserKnownHostsFile ~/.ssh/known_hosts
Tags: #Bash    Post on Linux