I've been sshing in and out of our development server
installing odd bits and pieces for a couple of months
and I've noticed that I have a few tty sessions still
open from months ago (See below) from, I suspect, when
ssh has timed out on me. I've gone in and killed a few
of them but I'd like to set to enforce some sort of
policy where the tty sessions get cleaned up if not
used for a while. Is there a directive which I can
throw into my sshd_config file which will do this or
is this not a good approach?
michael at dev ~$ ps -ef | grep michael
..
michael 2413 2412 0 Jul24 pts/5 00:00:00 [bash]
michael 3182 3181 0 Jul24 pts/9 00:00:00 [bash]
..
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!