| Summary: | openssh-8.2 make ClientAliveCountMax=0 disable the connection | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | kircher <kircherlike> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | security | CC: | djm, jvishwanath66, luke.j.dennis+bugzilla |
| Priority: | P1 | ||
| Version: | 8.2p1 | ||
| Hardware: | ARM64 | ||
| OS: | Linux | ||
|
Description
kircher
2020-06-17 18:44:16 AEST
Killing the connection because of inactivity was never the specified function of ClientAliveInterval and that it happened to work that way was an accident. Note that the previous behaviour was not reliable - a client that set a ServerAliveInterval or that kept a forwarded TCP connection open would never be killed for inactivity. If you need a idle timeout, then I suggest looking at shell features (e.g. bash's TMOUT) or something like a PAM module. close bugs that were resolved in OpenSSH 8.5 release cycle (In reply to Damien Miller from comment #1) > If you need a idle timeout, then I suggest looking at shell features > (e.g. bash's TMOUT) or something like a PAM module. I am trying to add an idle timeout to an ssh server on an embedded system which does not have bash. I haven't been able to find any reference to a PAM that will add timeout functionality, would you be able to point me in the right direction? Either a specific module if you know if one or some keywords that will help find some results? Thanks! Hi Damien Miller, `close bugs that were resolved in OpenSSH 8.5 release cycle` can u please share the BZ(or release notes) for the provided fix. https://www.openssh.com/releasenotes.html#9.2 under "New Features" |