ssh -o StrictHostKeyChecking=no $ip "command"
#ConnectTimeout=3                   连接超时时间,3秒
#ConnectionAttempts=5               连接失败后重试次数,5次
#PasswordAuthentication=no          不使用密码认证,没有互信直接退出
#StrictHostKeyChecking=no           自动信任主机并添加到
 
 
 
 
 
 
 
 
 
 
known_hosts文件

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2021-09-07
  • 2021-04-03
  • 2021-10-29
猜你喜欢
  • 2022-02-15
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
  • 2022-03-04
相关资源
相似解决方案