Execute Interactive Command#

Execute an interactive SSH command.

SSH Connector[Link] SSH connection connector.
Command[Text] The command to execute.
Auto-confirmIf selected, automatic confirmation of requested actions will occur during command execution.
Privilege Escalation

If selected, the command's privileges will be elevated.

For Linux this is Sudo, for Windows — Run As.

To execute the command with this option, a password must be provided.

Password[Text/SecureString] Password for executing the command with elevated privileges.
Selective Confirmations

[Dictionary] Works the same as auto-confirm, but allows specifying custom data.

The key is the expected command output.

The value is the confirmation that the command requests.

Timeout[Number] Connection timeout.
Result[Text] The result of the command execution on the server.
Error Handling Level

Select the error handling level.

Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that the blocks will output during operation.

Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.