Auto-logout and dropped telnet/ssh connections
D. Sanderson
dsanders at u.washington.edu
Mon Sep 27 15:59:07 PDT 1999
How do I configure Linux (RedHat 6.0 at the moment) to automatically log
people out if their telnet or ssh connection gets dropped? I'd like to
set it up comparable to the UW uniform access machines, where a dropped
connection logs out immediately (is it immediate?), closing all programs.
I'm particularly interested in the effect of Pine automatically making a
message in progress into an "interrupted message" that could be continued
on the next run. I presume it does this without additional configuration,
assuming the process gets killed when the account is forced to log out.
True?
Right now, a telnet connection to the box seems to remain open if the
connecting computer was interrupted abnormally (such as a power outage).
The user can log in again, but must manually kill the old process to drop
that connection. Is this a security concern, or just an annoyance? (In
either case, I'd like to change this behavior.)
I haven't tested ssh yet. Would an ssh connection remain open in this
way?
Thanks for any assistance you can provide!
_____________________________________________________________________
Dan Sanderson dsanders at u.washington.edu
University of Washington http://students.washington.edu/dsanders
More information about the Linux
mailing list