LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-01-2003, 09:25 PM   #1
blackmercury
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
0x4B
Member
 
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:42 AM.

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