I just came across this: Configure BASH, KSH, TCSH, ZSH Shell To Logout User Automatically After Idle Time. I was looking for that months ago but couldn't find it. Then I forgot about it, until now! All you need to do is set and export an environment variable, which can be set system-wide in /etc/profile!
Just found a great tip to prevent timeouts of PuTTY sessions. I'm fine with timeouts by the host, but in our case the firewall kills sessions after 30 minutes of inactivity... When using PuTTY to ssh to your Linux/Unix servers, be sure to use the feature to send NULL packets to prevent a timeout. I've set it to once every 900 seconds, i.e. 15 minutes... See screenshot on the right.
Comments