Run SSH commands
Description
Run SSH command is a step in the Utility Plugin for Process Studio Workflows. This step executes commands and returns result over the secure shell (ssh) TCP/IP protocol
Configurations
No. | Field Name | Description |
---|---|---|
General Tab | ||
1 | Step name | Specify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
2 | Server name / IP address | Specify the server or IP address of the machine on which you want to execute a command. |
3 | Server port | Specify the TCP/IP port on which ssh protocol lives on the server. The default is 22. |
4 | Timeout | Specify the timeout in seconds. If set to a number larger than zero you can specify a non-default connection timeout. |
5 | Username | Specify the username to log in with |
6 | Password | Specify the password to use |
7 | Use key | Enable this option if you want to log in using a private key |
8 | Private key | The private key file. The private part of a private/public RSA key-pair (see:ssh-keygen) |
9 | Passphrase | Specify the optional pass-phrase used when the key-pair was generated |
10 | Proxy host | Specify the proxy server host to use (name or IP address) |
11 | Proxy port | Specify the proxy server port to use |
12 | Proxy username | Specify the proxy user name |
13 | Proxy password | Specify the proxy password |
14 | "Test connection" button | Click to see if the supplied credentials are sufficient for logging |
into the SSH server. | ||
Settings Tab: | ||
Output | ||
1 | Response fieldname | Specify the name of the String output field that will contain the text passed to the standard output channel (stdout) by the specified commands. This information can then be picked up by the step and passed in a field to subsequent steps. |
2 | Error response field name | The name of the String output field that will contain the text passed to the standard error channel (stderr) by the specified commands. This information can then be picked up by the step and passed in a field to subsequent steps. |
Commands: | ||
3 | Get commands from field | Enable this option if you want to execute commands specified in an input field |
4 | Commands field name | Select the input field that will contain the commands to execute |
5 | Commands | Field allows you to specify the commands to execute. |
6 | Wait for response | Specify the Wait for response time in seconds. If it is more than zero seconds, the step waits to get the command output for the specified seconds. Internally, it checks for a response after every 15 seconds. If the command output does not receive a response in the specified time, then the step exits with an error. |