How to setup time out for SSH sessions

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 ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-26-2005
Ross
 
Posts: n/a
Default How to setup time out for SSH sessions

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


Reply With Quote
  #2 (permalink)  
Old 03-26-2005
Darko Gavrilovic
 
Posts: n/a
Default Re: How to setup time out for SSH sessions

"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
Reply With Quote
  #3 (permalink)  
Old 03-26-2005
me
 
Posts: n/a
Default Re: How to setup time out for SSH sessions

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.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0