an implementation of endlessh in Rust
inspired by endlessh & endlessh-go
features:
- works on all platforms supported by mio, including Windows
- completely single threaded
- minimal allocation
- optional openmetrics/prometheus http server (in the same thread)
Usage: endlessh-rs.exe [OPTIONS]
Options:
--ssh-listen-address <SSH_LISTEN_ADDRESS> [default: 0.0.0.0:2222]
--ssh-banner-line-length <SSH_BANNER_LINE_LENGTH> [default: 32]
--ssh-max-clients <SSH_MAX_CLIENTS> [default: 4096]
--ssh-message-delay-ms <SSH_MESSAGE_DELAY_MS> [default: 10000]
--metrics-listen-address <METRICS_LISTEN_ADDRESS> [default: disabled]
--metrics-max-clients <METRICS_MAX_CLIENTS> [default: 3]
-h, --help Print help
-V, --version Print version
- add logging?
- support detailed client metrics
- add signals support
- add comparison between implementations