News:

SMF - Just Installed!

Main Menu

SSH timeout is not working on Ubuntu 22.04

Started by kalpana, Oct 09, 2023, 05:54 AM

Previous topic - Next topic

kalpana

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