I'm always surprised when I see this question each time. SSH, although encrypted, can be thought of as a transport mechanism to remotely access your system, such as telnet or rlogin.

You need to set the timeout in your shell.


For tcsh, you need to set the autologout variable. For Ksh and Bash, the variable is TMOUT. Read the man page for the shell that you are using. Not all shells support an idle timeout.




[EMAIL PROTECTED] wrote:
It doesn't work as I want.
ClientAliveInterval and ClientAliveCountMax work for scenario where the ssh session was terminated unexpectedly from client side without exiting properly (command exit was not used to close the session). For instance, the client workstation clashed. Somebody tripped on the power cord of the workstation. What I want is to terminate IDLE ssh session. For instance, somebody has a ssh session open and went for lunch without exiting the ssh session.
---------------------------------------------------------------------------------------------

_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to