SSH Drivers
SSH modules interface with devices or servers that communicate using the SSH 1.99/2.0 protocol. SSH 1 is considered obsolete due to inherent security flaws and not supported.
SSH modules are similar to Device Drivers with an additional exec
function, where supported by the remote. Unfortunately most AV devices seem to only support interactive shell, which is akin to telnet.
Authentication
Supports the following authentication methods:
none
public key
password
These settings must be defined in the JSON settings (dependency or driver instance) and would typically look like:
Sending an exec request
If supported requests can be sent using the exec
function. There are two modes of operation, depending on how much response data is required and requests can be performed in parallel.
There is a more complicated request form that provides access to exit codes and individual data streams.
Exec request options
Option | Default Value | Description |
| true | do we want to wait for a response before we continue processing |
| 0 | minimum delay time between sends (milliseconds) |
| 0 | time to delay the next transmit after receiving data (milliseconds) |
| 2 | number of times we’ll retry a command if it has timed out |
| 5000 | amount of time we’ll wait for a response to a command before retrying (milliseconds) |
| 50 | so we can perform commands in preference to others |
Last updated