Re: OpenSSH not closing idle sessions.
- Date: Tue, 9 Apr 2019 16:01:20 +0100
- From: Thomas Pircher <thp+debian@xxxxxx>
- Subject: Re: OpenSSH not closing idle sessions.
Greg Wooledge wrote:
> Most people want the exact opposite of that.
I don't really know the OP's rationale, but terminating an idle ssh
session is a step in the requirements/guidelines (STIG ) for
hardening systems for the US Department of Defense.
> Basically, what you're asking for is directly hostile to any kind of
> sane operation of a computer.
I'm not going to defend this requirement, merely showing one example
where one would want (or would have to) configure the ssh server this
> > ClientAliveInterval 5
This is the setting that the STIG ID RHEL-07-040320 in  suggests to