## Path: Network/Remote access/Autossh ## Description: Autossh service settings ## Type: integer ## Default: 600 # # Specifies the time to wait before the first connection test. # Thereafter the general poll time is used (see AUTOSSH_POLL). AUTOSSH_FIRST_POLL="600" ## Type: list(0,1,2,3,4,5,6,7) ## Default: 6 # # Specifies the log level, corresponding to the levels used by syslog. AUTOSSH_LOGLEVEL="6" ## 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: [: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: integer ## Default: 1 # # Number of autossh instances to spawn on start. AUTOSSH_SPAWNS="1" ## Type: string ## Default: user@example.com -p 22 -ynNT -R 30000:localhost:22 -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=3 # # Options to be passed to ssh # All options except for the first must end with "_". Only the # options upto "_$(($AUTOSSH_SPAWNS-1))" will be started. AUTOSSH_OPTIONS="user@example.com -p 22 -ynNT -R 30000:localhost:22 -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=3"