forked from extern/endlessh
Flesh out a more detailed sample config
This commit is contained in:
parent
20ec77e6ef
commit
5e12d658ce
31
README.md
31
README.md
@ -36,10 +36,6 @@ messages are sent to standard output.
|
|||||||
|
|
||||||
endlessh -v >endlessh.log 2>endlessh.err
|
endlessh -v >endlessh.log 2>endlessh.err
|
||||||
|
|
||||||
The purpose of limiting the number of clients (`-m`) is to avoid tying
|
|
||||||
up too many system resources with the tarpit. Clients beyond this limit
|
|
||||||
are left in the accept queue, not rejected instantly.
|
|
||||||
|
|
||||||
A SIGTERM signal will gracefully shut down the daemon, allowing it to
|
A SIGTERM signal will gracefully shut down the daemon, allowing it to
|
||||||
write a complete, consistent log.
|
write a complete, consistent log.
|
||||||
|
|
||||||
@ -50,10 +46,25 @@ A SIGHUP signal requests a reload of the configuration file (`-f`).
|
|||||||
The configuration file has similar syntax to OpenSSH.
|
The configuration file has similar syntax to OpenSSH.
|
||||||
|
|
||||||
```
|
```
|
||||||
# This is a comment
|
# The port on which to listen for new SSH connections.
|
||||||
Port 22
|
Port 2222
|
||||||
Delay 30000
|
|
||||||
MaxLineLength 8
|
# The endless banner is sent one line at a time. This is the delay
|
||||||
MaxClients 512
|
# in milliseconds between individual lines.
|
||||||
LogLevel 1
|
Delay 10000
|
||||||
|
|
||||||
|
# The length of each line is randomized. This controls the maximum
|
||||||
|
# length of each line. Shorter lines may keep clients on for longer if
|
||||||
|
# they give up after a certain number of bytes.
|
||||||
|
MaxLineLength 32
|
||||||
|
|
||||||
|
# Maximum number of connections to accept at a time. Connections beyond
|
||||||
|
# this are not immediately rejected, but will wait in the queue.
|
||||||
|
MaxClients 4096
|
||||||
|
|
||||||
|
# Set the detail level for the log.
|
||||||
|
# 0 = Quiet
|
||||||
|
# 1 = Standard, useful log messages
|
||||||
|
# 2 = Very noisy debugging information
|
||||||
|
LogLevel 0
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user