Operating System - HP-UX
1819738 Members
2972 Online
109606 Solutions
New Discussion юеВ

Re: Telnet timeout terminal session

 
SOLVED
Go to solution
Goran Kubelka
Advisor

Telnet timeout terminal session

What is the default timeout for terminal connection via telnet and how to change or disable it on HP-UX 11i host
14 REPLIES 14
Robert-Jan Goossens
Honored Contributor

Re: Telnet timeout terminal session

Hi,

You can check yout timeout value

# print $TMOUT

where 0 is no timeout
and 60 is 60 seconds.

change
# set TMOUT=XXXX
and add this to your .profile.

Kind Regards,

Robert-Jan Goossens
John Palmer
Honored Contributor

Re: Telnet timeout terminal session

Which timeout do you mean? There are several TCP timers and there's a shell timeout for disconnecting idle sessions (see man sh-posix and search for TMOUT), TMOUT is disabled by default.

Regards,
John
T G Manikandan
Honored Contributor

Re: Telnet timeout terminal session

The default timeout is infact notimeout.

i.e.
TMOUT=0
autologout=0

When these values are zero then it is like no timeout for the sessions.

Incase you need to set the timeout value you need to change them.

Thanks
Rainer von Bongartz
Honored Contributor

Re: Telnet timeout terminal session

set env. varaibale TMOUT=

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Goran Kubelka
Advisor

Re: Telnet timeout terminal session

Dear ALL,
Actually I `m using Terminal emulator to establish telnet session to HP-UX host.The shell is ksh. The value TMOUT=0, but I `m still disconected from the host aftr 5-10 min. inactivity. Any idea?
Robert-Jan Goossens
Honored Contributor

Re: Telnet timeout terminal session

Oke,

If you're using reflection
check
Connection
Settings
Field Time Out Settings
120 (my case)

Regards,

Robert-Jan.
Goran Kubelka
Advisor

Re: Telnet timeout terminal session

At the moment I`m using Power Term 525 , but I have same expirience with other terminal emulators like Humminbird etc.
John Palmer
Honored Contributor

Re: Telnet timeout terminal session

Are you are connecting to the server via a firewall? I've seen this problem where the firewall had an inactivity timer set.

Regards,
John
Juan Manuel L├│pez
Valued Contributor

Re: Telnet timeout terminal session

You have to see the " echo $TMOUT ".
To set this value:
/etc/profile

TMOUT=300

For example 300 seconds.

I hope this help you.

Juanma.
I would like to be lie on a beautiful beach spending my life doing nothing, so someboby has to make this job.
melvyn burnard
Honored Contributor
Solution

Re: Telnet timeout terminal session

sounds like you have some form of firewall or other mgmnt system that is detcting inactivity and logging you off.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Goran Kubelka
Advisor

Re: Telnet timeout terminal session

It was definitly Firewall setting
Steven E. Protter
Exalted Contributor

Re: Telnet timeout terminal session

I access without a firewall and can leave Hummingbird logged on for days.

That's probably a problem. Though Win2K locks the screen.

I'm setting TMOUT on my new servers and my development server.

Thanks!!!
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gary Yu
Super Advisor

Re: Telnet timeout terminal session

I would also say it's Firewall settings. I have the same problem, but it happened not only to telnet session, but all remote access(like oracle DBA console etc...) which makes me believe it's not some setting of telnet.

pat hayes
Advisor

Re: Telnet timeout terminal session

Goran, can you please give me the details of the firewall setting it turned out to be, that corrected your problem? I am having the exact same problem, and would really appreciate some help. thanks!