Disable SSH Host Key Checking

  • 59
  • 0

Disable SSH Host Key Checking

忽略 ssh 連線時的憑證檢查

ssh -o "StrictHostKeyChecking=no" user@remotehost

連結遠端主機同時執行多組命令 

ssh use@removehost << EOF
  command1
  command2
  command3
EOF

ssh use@removehost "command1 && command2"