Test remote connection before launch the inspec

Hello,

Inspec allows us to make some control in the remote host with the option -t. But is there a way to check if the remote remote host is reachable before doing the control.

Or should I check the host in shell script before launching the inpsec command.

inspec exec check.rb -t ssh://user@remotehost