Cobra Forum

Linux => Installation & Upgrades => Topic started by: kalpana on Oct 09, 2023, 05:54 AM

Title: SSH timeout is not working on Ubuntu 22.04
Post by: kalpana on Oct 09, 2023, 05:54 AM
Hi Team,

SSH idle timeout is not working on Ubuntu 22.04
Following are my configuration

This is our /etc/profile config
TMOUT=60
readonly TMOUT
export TMOUT

cat /etc/bash.bashrc
umask 027
TMOUT=900
readonly TMOUT
export TMOUT

cat /etc/ssh/sshd_config
#TCPKeepAlive yes
ClientAliveInterval 60
ClientAliveCountMax 0

Can anyone helpout here ?

Regards
MA