This adapter connects to SSH servers using the secure shell protocol.
Properties
|
|
Defines the operation executed by the adapter Possible values:
|
Parameters
|
|
Adapter main class (do not change!) Possible values: de.softproject.integration.adapter.ssh.SSHAdapter: main class (default) |
|
|
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:
<?xml version="1.0" encoding="UTF-8"
<Root>
<Command>netstat -plnt |grep 8080</Command>
</Root>
The element <Command> contains the command to be executed on the server.
Output
The adapter returns an XML document with the output and the exit status.
<?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>