This is a discussion on How to setup time out for SSH sessions within the Linux Security forums, part of the System Security and Security Related category; Hi there, I have an SSH server on Linux. Once a remote user's ssh session is connected, it keeps ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi there,
I have an SSH server on Linux. Once a remote user's ssh session is connected, it keeps connected no matter how long idle time is. Is there a way to set up the ssh session time out on the ssh server? Thanks in advance, Ross |
|
|||
|
"Ross" <Ross@nospam.com> wrote in news:-fKdnVQPifl4T9nfRVn-3Q@rogers.com:
> Hi there, > I have an SSH server on Linux. Once a remote user's ssh session is > connected, it keeps connected no matter how long idle time is. > Is there a way to set up the ssh session time out on the ssh server? > Thanks in advance, > Ross > > > a copy & paste job. i can't be bothered to write it. ------------ [ph-linux-newbie] SSH idle time out ph-linux-newbie@lists.q-linux.com ph-linux-newbie@lists.q-linux.com Fri, 20 Jul 2001 08:21:06 +0800 * Previous message: [ph-linux-newbie] [ OT ] PLUG t-shirt * Next message: [ph-linux-newbie] request * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] depends if you are running commercial ssh or openssh on your server if you are using openssh, make changes in your /etc/sshd_config see directives: ClientAliveInterval ClientAliveCountMax KeepAlive http://www.openbsd.org/cgi-bin/man.cgi?query=sshd also look into the openssh.org mailing archives about patches to fix this problem... http://marc.theaimsgroup.com/?l=open...1964204475&w=2 __________________________________________________ _______ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ----------- http://lists.q-linux.com/pipermail/p...ly/002013.html -- "Why do they call it rush hour when nothing moves?", Robin Williams |
|
|||
|
Ross wrote:
> Hi there, > I have an SSH server on Linux. Once a remote user's ssh session is > connected, it keeps connected no matter how long idle time is. > Is there a way to set up the ssh session time out on the ssh server? > Thanks in advance, > Ross > > Try setting TMOUT=600 and you'll find any forgotton terminal will be logged out after 600 seconds. Me. |