Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-01-2003, 09:25 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
ssh timeout

I am wanting to close a ssh client terminal after 5 minutes of inactivity. how would i go about doing so?
Old 06-02-2003, 05:32 PM   #2
Registered: May 2003
Location: Nashville TN, USA
Distribution: Debian (I'm unstable)
Posts: 117

Rep: Reputation: 15
if you are closing it from the server side, then you need to modify the sshd_config and set the ClientAliveInterval = 250 and the ClientAliveCountMax = 2
there are other combinations, but the interval specifies the number of seconds between checks, and the count max is the number of intervals over which a client can be innactive
I can't think of a quick way to do it if you're the client


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Timeout not working Phaethar Linux - Software 3 07-01-2005 01:59 PM
why ssh timeout? sherifff Linux - Networking 1 05-06-2004 09:30 PM
ssh timeout RedHat 9 clinton Linux - Newbie 2 12-13-2003 06:07 AM
SSH timeout goldenmag Linux - Security 2 12-10-2003 04:06 PM
ssh timeout in RH8? Jim Miller Linux - Networking 1 03-05-2003 11:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration