blob: 062e30f0c164bb4a52d0de8184f83095a7810018 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# /etc/conf.d/endlessh: config file for /etc/init.d/endlessh
#
#default options used by init.d if this is unset
#ENDLESSH_ARGS="-sv"
#
#Usage: endlessh [-vh] [-46] [-d MS] [-f CONFIG] [-l LEN] [-m LIMIT] [-p PORT]
# -4 Bind to IPv4 only
# -6 Bind to IPv6 only
# -d INT Message millisecond delay [10000]
# -f Set and load config file [/etc/endlessh/config]
# -h Print this help message and exit
# -l INT Maximum banner line length (3-255) [32]
# -m INT Maximum number of clients [4096]
# -p INT Listening port [2222]
# -v Print diagnostics to standard output (repeatable)
# -V Print version information and exit
# EXAMPLE 1: listen on port 22, log all queries and errors in very verbose mode
#ENDLESSH_ARGS="-p 22 -vv"
# EXAMPLE 2: load settings from config file
#ENDLESSH_ARGS="-f /etc/endlessh/config"
# EXAMPLE 3: load settings from config file, but override port
#ENDLESSH_ARGS="-f /etc/endlessh/config -p 22"
# LOGGING: by default is syslog
# You can add -v (or -vv) for verbosity
#ENDLESSH_ARGS="-s -v"
|