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.
Post a Comment