Re: How to setup time out for SSH sessions

From: Darko Gavrilovic (darkoDOTgavrilovicATutorontoDOTca)
Date: 03/26/05


Date: Fri, 25 Mar 2005 21:28:54 -0600


"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=openssh-unix-dev&m=95211964204475&w=2

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-----------

http://lists.q-linux.com/pipermail/ph-linux-newbie/2001-July/002013.html

-- 
"Why do they call it rush hour when nothing moves?", Robin Williams


Relevant Pages

  • Re: Safest way of accessing a home computer from outside?
    ... what if I my router doesent have a public IP ... use for ssh is forwarded to your ssh server. ... You can find Hamachi at ...
    (Fedora)
  • Re: Safest way of accessing a home computer from outside?
    ... what if I my router doesent have a public IP ... I agree - ssh with no password and then use certificates to ... use for ssh is forwarded to your ssh server. ... You can find Hamachi at ...
    (Fedora)
  • Re: AIX 5.2L "who" question
    ... SSH is corrupting the utmp file! ... where did you get the SSH server you are running? ... We have a 44P-270 running AIX 5.2L, when users connected via ssh they can't ... Monitoring ...
    (AIX-L)
  • Re: Blocking attacks from spoofed IP addresses
    ... Some of the ssh attacks are distributed. ... So IMHO public key authentication does not necessarily reduce risks. ... if one is scared about login unwanted attempts on a ssh server ...
    (comp.os.linux.networking)
  • Re: Remote Desktop from Linux console
    ... if your running a SSH server on L you can connect to V using RDC through the SSH tunnel. ... I do, or did, that all the time when I ran a SSH server on either a PC inside my router or on the router itself, ie. DD-WRT running on the router. ...
    (microsoft.public.windows.vista.networking_sharing)