40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
|
## Path: Network/Remote access/Autossh
|
||
|
## Description: Autossh service settings
|
||
|
|
||
|
## Type: integer
|
||
|
## Default: 0
|
||
|
#
|
||
|
# Time ssh must be up before it is considered a successful connection.
|
||
|
# If set to 0, then this behaviour is disabled, and as well, autossh
|
||
|
# will retry even on failure of first attempt to run ssh.
|
||
|
AUTOSSH_GATETIME="0"
|
||
|
|
||
|
## Type: list(0,1,2,3,4,5,6,7)
|
||
|
## Default: 7
|
||
|
#
|
||
|
# Specifies the log level, corresponding to the levels used by syslog.
|
||
|
AUTOSSH_LOGLEVEL="7"
|
||
|
|
||
|
## Type: integer
|
||
|
## Default: 600
|
||
|
#
|
||
|
# Poll time in seconds. If the poll time is less than twice the network
|
||
|
# timeouts (default 15 seconds) the network timeouts will be adjusted
|
||
|
# downward to 1/2 the poll time.
|
||
|
AUTOSSH_POLL="600"
|
||
|
|
||
|
## Type: string
|
||
|
## Default: 0
|
||
|
## Format: <port>[:echo_port]
|
||
|
#
|
||
|
# The base monitoring port to use, or alternatively, the monitoring
|
||
|
# port and the echo service port to use. Setting 0 will turn the
|
||
|
# monitoring off, and autossh will only restart ssh on ssh exit.
|
||
|
AUTOSSH_PORT="0"
|
||
|
|
||
|
## Type: string
|
||
|
## Default: user@example.com -p 22 -nNT -R 30000:localhost:22 -o ExitOnForwardFailure=yes
|
||
|
#
|
||
|
# Options to be passed to ssh
|
||
|
AUTOSSH_OPTIONS="user@example.com -p 22 -nNT -R 30000:localhost:22 -o ExitOnForwardFailure=yes"
|