2 comments

[ 3.4 ms ] story [ 10.8 ms ] thread
It seems like the Github ReadMe lacks the "Getting Started" section. I don't understand how to install/use this.
This seems like a complex solution to a simple problem. In sshd_config there are some directives that can close unused connections. [1][2] as of OpenSSH 9.2

Another solution is to set a read-only shell timeout on servers and managed clients. This can annoy people causing them to do silly work-arounds so coordinate with your teams before applying this everywhere. Find an agreed upon and reasonable timeout that does not conflict with audit requirements that vary by company.

    readonly TMOUT=86400
[1] - https://man.openbsd.org/sshd_config#ChannelTimeout

[2] - https://man.openbsd.org/sshd_config#UnusedConnectionTimeout