Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-11-2003, 06:13 PM   #1
Registered: Oct 2003
Location: Vancouver
Distribution: RH Enterprise AS 3
Posts: 47

Rep: Reputation: 15
ssh timeout RedHat 9

Hi all,

Is there a way to prevent timeouts or extend how long until a timeout occurs for ssh?

I'm the admin (best one for the job, but far from great) of a linux machine here, and a colleague needs to do some stats work on the machine. She has been complaining that when she starts an analysis her ssh terminal freezes before the analysis is complete.

I assume that she is being timed out due to inactivity. I have tried changing the TMOUT ENV variable, but that was unsuccessful.

Ideally I would like to know how to just change how long before she timesout as opposed to all users.

Thanks for your help.
Old 12-12-2003, 01:29 PM   #2
LQ Newbie
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
ssh timeout Redhat 9

This is not really a reply, but since i don't see any responses yet, perhaps a futher question on or observation about this topic, if this sort of thing is not impolite, might prompt some replies...

The observation is about connections between linux machines and unix servers:

For example, when connecting to certain unix servers (not all) using linux (windows machines on same network do Not have same prob), the connections stall (they don't necessarily ever disconnect, but if the stall is a long one, after several minutes of not seeing any changes, which happens, it might seem like a disconnect) -- but at other times, when connecting to other (different) unix servers, there is no stalling, but there are timeouts after a short period of inactivity.

That is, on the certain remote servers where i don't stall for any period of any time, i do timeout

Again, don't know if there is a connection, but if so, perhaps someone might be prompted to comment?

Thanks --
Old 12-13-2003, 07:07 AM   #3
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
well, I've always seen timeout disconnects when using telnet, but never with ssh:

I mean, on fridays, I leave my office's PC switched on with 2 or 3 ssh connections to different machines (Solaris, Linux, etc,...), and when I come back on Monday, they are still there.

Problems with your switching equipment, maybe ?


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 Off
HTML code is Off

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

All times are GMT -5. The time now is 02:52 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