Sandbox
sandbox.ssh_exec()
Example
Example
Parameters
commandStringCommand to execute over SSH.
inactivity_timeoutNumericOptional timeout in seconds. Omit to inherit global configuration; use 0 to disable it.
Returns
Hash
Collected output and exit status, with string keys.
Result fields
”stdout”StringStandard output bytes
”stderr”StringStandard error bytes
”exit_code”IntegerExit status
”success”BooleanWhether the exit status is zero