Re: Idle-Timeout with Telnet and SSH

From: Peter Rohrman (pete_at_peterohrman_com)
Date: 09/14/04


Date: Tue, 14 Sep 2004 10:45:04 -0400
To: Barry Margolin <barmar@alum.mit.edu>

Barry,

I totaly forgot about the possibility of the firewall timing out my
idle-connection. I've have to snoop around to see if that is doing me
damage. I'll bet that is the answer. Thank you for your input. I'll
reply back after I get some time to play with the firewall. Hopefully
today.

Pete

Barry Margolin wrote:
> In article <geqdnaYeKdOBYN3cRVn-gw@speakeasy.net>,
> Peter Rohrman <pete_at_peterohrman_com> wrote:
>
>
>>Hi Again,
>>
>>When I say that my sessions time out "rather quickly" I mean that if I
>>don't make a key stroke within 5 minutes, my telnet or ssh session
>>stops, and I'm thrown back into my local workstation's tcsh prompt. I
>>know that it is my workstation that is timing out the sessions because
>>1) I config'ed the cisco router that I telneted to to have a time out of
>>1 hour on the vty session, and 2) when I telnet back in (after my
>>session drops) I can see that my old vty session is still active from
>>the router's point of view. When I ssh to a Red Hat Fedora box, my
>>sessions idle time out within 5 minutes of me not making a keystroke. I
>>have a feeling that it is my local workstation that is dropping the
>>session because when I ssh back into the Red Hat Fedora box (after my
>>session has idle timed out), I do a netstat -a, and I can see that the
>>Fedora box still has the session as Established.
>
>
> If the client were dropping the connection, they server would see the
> connection close and it would kill the processes running from that
> connection.
>
> Do you have a firewall in the path? Maybe it has an idle connection
> timeout.
>



Relevant Pages

  • Re: APPN Connection z/os - AHHC / LLC2.
    ... implied that you session stopped for a while and then continued. ... the ANNC link is a type 2.1 connection. ... I would suggest trying to limit the request unit size used over the type 2.1 ... MAXDATA operand when defining a PU statement for an adjacent link station ...
    (bit.listserv.ibm-main)
  • Re: Remote desktop deadlock on XP SP2
    ... the TS connection is frozen, even if I specify a wait timeout. ... TermSrv.dll creates a new session for the purpose of displaying the logon ... lives on a DPC routine for the network miniport ... the network packets are encapsulated and decapsulated in UDP. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: JES-APPL
    ... Then there has been a session initiation request - which can only happen over an available session path - this isn't any of your flaky IP, ... Unless the NJE application on the AS/400 has consistently been caught in the middle of being activated in some way - highly unlikely I would expect - this is not a timing problem. ... Since the connection is necessarily in place, there is no problem with the connection - just in case a modem is involved - which, given a "switched" definition is used, is not impossible, but unlikely. ...
    (bit.listserv.ibm-main)
  • Re: os users, sessions, and connections.
    ... From what I've read a session is a logged connection. ... do the following (paddr is the address of the process ... select sid, serial#, paddr, username from v$session ...
    (comp.databases.oracle.server)
  • Re: Some outstanding ASP .NET questions
    ... Typically, we store the connection in the ... Session and use a Singleton pattern to retrieve it back later: ... Is it appropriate to store table key information in the session? ... I was referring to primary keys in database tables. ...
    (microsoft.public.dotnet.languages.csharp)