On Thu, 30 Nov 2000, Mike Burger wrote:
> I'm relatively sure that it's not a variable set in a shell config
> file...I have the same thing happen on both my 6.1 (Cartman) and 7.0
> (Guinness) boxes.
>
> I will echo your sentiments about A) timeouts not necessarily being a bad
> thing and B) using SSH.
>
> To Gary, I would submit that having a timeout is actually a good
> thing...should you leave work or whatever, and forget to log out of your
> telnet (or even ssh) session, but left it at a command prompt, then the
> timeout will help you avoid the unpleasant possibility of someone coming
> along and doing damage to your system while logged in as you.
>
I totally agree with both points. Using ssh is always better than using
telnet, and it also adds some extra functionality like the capability to
also transfer files in a secure way by using the scp command.
> Next, I would submit that if you wish to keep those sessions alive, you
> should run some sort of continual process.
>
> Personally, I like to keep tabs on my system, so I'll usually run either
> "top" or "tail -f /var/log/<some log file>". Having a continuously
> running process effectively kills the idle timer.
>
Checking the manual page for telnetd, I found a -n option:
-n Disable TCP keep-alives. Normally telnetd enables the TCP
keep-alive mechanism to probe connections that have been
idle for some period of time to determine if the client is
still there, so that idle connections from machines that
have crashed or can no longer be reached may be cleaned up.
You may want to add that option to the telnet line in /etc/inetd.conf,
although I didn't try it to see if it works though.
------------------------------------------------------
Nitebirdz
------------------------------------------------------
Thus spake the master programmer:
"You can demonstrate a program for a corporate
executive, but you can't make him computer literate."
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list