ssh初次登录某个主机时,出现如下提示
Are you sure you want to continue connecting (yes/no)?
打开/etc/ssh/ssh_config,修改以下配置项
# StrictHostKeyChecking ask StrictHostKeyChecking no