This Specification Task will run a SSH Command.
|Title||Changes the Title (not the name) of the task.|
|Host Name||The hostname or IP address of the SSH client.|
|Command||The command text.|
|Result Constant||The name of the constant that the result will be posted to (With or without the DWConstant prefix)|
When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.
|Property Name||Example Rule||Example Result||Meaning|
|Host Name||"Pi2"||Pi2||This is the hostname of the SSH client.|
|Username||"KPIAdmin"||KPIAdmin||This is the username to log into the client with.|
|Password||"KPI123"||KPI123||This is the password to log into the client with.|
|Command||"sudo reboot now"||sudo reboot now||This command will reboot the machine.|
|Result Constant||"DWConstantSSHReport"||DWConstantSSHReport||This is the name of the Constant that will report the result.|
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success with Warnings
Failed (one of the following occurred)