ssh auto-logout

Hi all,

Is there is any feature to auto-logout in OpenSSH 3.6.1p2, If yes then how to disable that because i am getting auto-logout within an hour when i am idle from SSH Server.

Thanks in advance.

there is no auto-logout feature of ssh. This is probably set in the shell. Check to see if $TMOUT variable exists and unset it.

Actually there is no variable setting exists in shell, As $TMOUT but i am getting auto-logout within an hour.

hi daya,

i worked on your problem and find a solution. you have to just configure the TMOUT environment variable!

export TMOUT=60 ( where 60 is seconds, or u can write here secods for an hour)

either you can do this by followning way:

In order the apply TMOUT to all Linux login accounts, you can put that export command to the login scripts or login profile (.bash_profile or .profile) in respective user home directory

Thanks Munish,

It worked.