Message Board -  Archive

[ Login ] [ Create Account ]
[ Board List ] [ View Board ] [ Post Reply ]
  Author  Subject: Re: Remote Telnet Session Disconnects (fwd)
Archive  

Posted on 08-18-2002 03:00 a.m. ET  reply

Original Poster: JOHN HEMMER <hemmerj@mail.upstate.edu>

On Sat, 17 Aug 2002, Mark W. Krentel wrote:

> > There is a remote Linux system (Red Hat 7.0) that I telnet
> > into. If I leave the session idle for more than 5 minutes,
> > I get logged out or disconnected.
>
> Since the remote system is Linux, your shell there is probably bash.
> Bash, like all shells, has an auto-logout feature, in bash's case
> controlled by the environment variable TMOUT (a rather odd name).
> Try "echo $TMOUT" to see if it's set to some number like 300 (seconds).
> If so, either increase its value with "export TMOUT=nnn" or unset it
> with "unset TMOUT".
>
> There are several other links in the chain that could kick you off,
> but this is probably the most likely one.
>
> --Mark
>
Mark,

Thanks for the prompt reply. It seems like it is unset, because
when I echo $TMOUT, I just get a newline.

John

< Previous 1 Next >

Site Contents