去掉ssh初次登录询问yes/no

ssh初次登录某个主机时,出现如下提示

Are you sure you want to continue connecting (yes/no)?
  • 如何去掉?

打开/etc/ssh/ssh_config,修改以下配置项

#  StrictHostKeyChecking ask
   StrictHostKeyChecking no
posted @ 2015-11-11 03:21  妙音  阅读(1189)  评论(0编辑  收藏  举报