1854815 Members
10315 Online
104103 Solutions
New Discussion

Telnet time time out

 
N A Khan
Contributor

Telnet time time out

Hi There,
The telnet connection from Windows to HP-UX11i is getting timeout after 5 minutes.
How can we increase the time ?
best regards
NAK
2 REPLIES 2
Michael Tully
Honored Contributor

Re: Telnet time time out

Hi,

There is a built in variable in the korn shell called 'TMOUT'. If the value is greater than zero the session will timout. The value can be recorded in users .profile as
TMOUT=3600

Have a look at the man page for 'ksh'

Quote:
TMOUT If set to a value greater than zero, the shell terminates if a command is not entered within the prescribed number of seconds after issuing the PS1 prompt.

HTH
~Michael~
Anyone for a Mutiny ?
Deepak Extross
Honored Contributor

Re: Telnet time time out

If you're using c-shell, the variable you want to change is "autologout". "set autologout 5" will log you off in 5 minutes.

If you're using k-shell or bourne shell, you want to increase the environment variable $TMOUT. "export TMOUT=300" will log you off after 300 seconds or 5 minutes.

Note that setting these variables to 0 will disable session expiry altogether.