# /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"