Skip to content

an implementation of endlessh in Rust

Notifications You must be signed in to change notification settings

master-hax/endlessh-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

endlessh-rs

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

TODO

  • add logging?
  • support detailed client metrics
  • add signals support
  • add comparison between implementations

About

an implementation of endlessh in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages