This adapter connects to SSH servers using the Secure Shell protocol.
Properties
|
|
Defines the operation executed by the adapter Possible values:
|
Parameters
|
|
Server host Possible values: Any valid host or IP, e. g. |
|
|
User to log in to the server Possible values: String containing the user name, e. g. |
|
|
Password to log in to the server Possible values: String containing the password, e. g. |
|
|
Server port Possible values:
|
|
|
Timeout in milliseconds for waiting until the connection to the server is established Possible values:
|
Status values
|
|
The operation was executed successfully. |
|
Distinct to |
An error occurred during the operation's execution |
Input
The adapter expects a specific XML document as input:
Sample input
<?xml version="1.0" encoding="UTF-8"
<Root>
<Command>netstat -plnt |grep 8080</Command>
</Root>
The <Command> element contains the command to be executed on the server.
Output
The adapter returns an XML document with the output and the status.
Output corresponding to the sample input
<?xml version="1.0" encoding="UTF-8"
<Output>
<CommandOutput>tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN - </CommandOutput>
<ExitStatus>0</ExitStatus>
</Output>