How do I logout the user from ssh after 15 minutes of inactivity?
Red Hat Enterprise Linux 4
1.Configure the timeout value in the
/etc/ssh/sshd_config under the following parameters:
#vi /etc/ssh/sshd_config ... ClientAliveInterval 5m # 5 minutes ClientAliveCountMax 3 # 3 times
2.Restart the ssh service :
#service sshd restart
This would make the timeout session 15 minutes as the `ClientAliveCo...