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
wait
true
do we want to wait for a response before we continue processing
delay
0
minimum delay time between sends (milliseconds)
delay_on_receive
0
time to delay the next transmit after receiving data (milliseconds)
retries
2
number of times we’ll retry a command if it has timed out
timeout
5000
amount of time we’ll wait for a response to a command before retrying (milliseconds)
priority
50
so we can perform commands in preference to others
Last updated