Telnet/Ssh idle timeout

Telnet/Ssh idle timeout

Post by Biondi Giorgi » Fri, 15 Sep 2000 04:00:00



Hi,

I have a RH6.2, on Netfinity 3500, my problem is the 'automatic' logout of
telnet/ssh session. I have try to set AUTOLOGOUT=0 and/or TMOUT=7200, but
this machine disconnect my user after 180 second...I have look on
/etc/bashrc & /etc/profile & ...don't have more ideas, my var 'set' is this:


BASH=/bin/bash
BASH_ENV=/home/tanya/.bashrc
BASH_VERSION=1.14.7(1)
COLUMNS=132
EUID=500
HISTFILE=/home/tanya/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HOME=/home/tanya
HOSTNAME=greenhat.pippillu.it
HOSTTYPE=i386
IFS=

INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=it
LC_ALL=it_IT
LESSOPEN=|/usr/bin/lesspipe.sh %s
LINES=57
LOGNAME=tanya
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;
33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=0
1;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:
*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;
31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.
gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL=/var/spool/mail/tanya
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=Linux
PATH=/usr/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/tanya/bin
PPID=11309

PS2=>
PS4=+
PWD=/home/tanya
SHELL=/bin/bash
SHLVL=1
SSH_CLIENT=192.168.1.1 11976 22
SSH_TTY=/dev/pts/0
SYSFONT=lat1-16
SYSTERM=linux-lat
TERM=vt100
TMOUT=7200
UID=500
USER=tanya
USERNAME=
_=PATH
kdepath=/usr/bin
mc=()
{
    mkdir -p ~/.mc/tmp 2>/dev/null;
    chmod 700 ~/.mc/tmp;
    MC=~/.mc/tmp/mc-$$;

    cd "`cat $MC`";
    /bin/rm "$MC";
    unset MC

Quote:}