« Home | Nokia to License Qt 4.5 Under LGPL » | My GTD Implementation with a Day Timer » | Back in the U.S. » | Happy Holidays everyone.   » | A "Swiss-Army Knife" Eclipse Setup » | 5 Minute Guide to Enabling PHP and Apache under OS... » | Reinstalling OS X from Scratch » | Vonage Increases Prices » | BlackBerry Curve (8820) Fails During OS Upgrade » | How to Transfer blogs between Blogger Accounts »

How do I set ssh session or serial terminal to automatically logout?

There is no auto-logout feature of ssh.  You just have to set the $TMOUT variable in your shell.  To set the terminal to automatically logout after 20 seconds of inactivity, type the following:

   1: $ export TMOUT=20

Your terminal session should be logged out after 20 seconds of inactivity.

Labels: , ,