Executes an SSH command.

Table 1. InvokeSshCommand Activity Input Parameters

Argument

Type

Description

CommandText

String

Command to execute.

Host

String

Server name against which to execute the command.

Username

String

Username to use in connecting to the host.

Password

String

Password to use in connecting to the host.

Timeout

TimeSpan

(Optional) Period of time after which execution of the command times out. Default is 30 minutes.

Table 2. InvokeSshCommand Activity Output Parameters

Argument

Type

Description

EnvironmentVariables

Dictionary<string, string>

Output of command if any. Throws exception on error.