Add monitoring endpoint to sshd
Add a basic monitoring endpoint to the sshd command.
- Listen on localhost port 9122 by default.
- Integrate build/version info.
- Update example config.
Add basic metrics to sshd
- Counter for how many times the max concurrent sessions limit was hit.
- Histogram for duration of each SSH connection.
Signed-off-by: Ben Kochie superq@gmail.com
Edited by Ben Kochie