Linux Operating System (MOSC)

MOSC Banner

[Oracle Linux 8.10: How to kill] ssh idle sessions

edited Mar 24, 2025 1:25AM in Linux Operating System (MOSC) 8 commentsAnswered ✓

Hi,

I am using Oracle Linux 8.10, and the sshd_config is configured to terminate the idle sessions on the server. The changes that I have made in the file are,

$ sudo sshd -T | grep clientalive
clientaliveinterval 15
clientalivecountmax 3

As, per the documentation, the idle session shall be discounted after 45 seconds, but this is not happening.

Is there anything that I am missing to configure for the termination of idle sesssion?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center