Executes an SSH script stored in the model manager under the specified name.

Before you use the ExecuteSshScript activity, you must first load the script that you want to execute into the Model Manager using the CloudUtil File-Import command.

Table 1. ExecuteSshScript Activity Input Parameters

Argument

Type

Description

ScriptName

String

Name in the Model Manager of the script to execute.

Host

String

Server name against which to execute the script.

Username

String

Username to use in connecting to the host.

Password

String

Password to use in connecting to the host.

ScriptVersion

Object

(Optional) Version in the Model Manager of the script to execute. Default is 0.0.

Timeout

TimeSpan

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

Table 2. ExecuteSshScript Activity Output Parameters

Argument

Type

Description

EnvironmentVariables

Dictionary<string, string>

Script execution result if any.