Re: Another ssh problem - it looks up after a couple of minutes.

From: Oscar del Rio (delrio_at_mie.utoronto.ca)
Date: 08/28/05


Date: Sun, 28 Aug 2005 13:07:48 -0400

Dave wrote:

> Whenever I connect to another machine that has ssh running (including
> other Suns with other non-OpenSSH based servers), the connection locks
> up after a minute or two if not used. If its used, it keeps working.

Are you running IPFilter firewall? If so, check that "keep alive"
options are set up properly, incoming and outgoing.

I have a similar problem but in my case it is definetly the ADSL modem
that breaks the connection after about 5 minutes of inactivity.
The first I did was to run a script printing the date every few seconds
or prstat or top running whenever I was idle, but it's a pain.
Then I found the following options on the Solaris 10 sshd server (does
not seem to work on Solaris 9)

In sshd_config:

KeepAlive yes
ClientAliveInterval 250

The interval of 250 is just enough to keep my ssh connections alive.



Relevant Pages

  • Re: Help me with shared XP Prof.
    ... >Ethernet adapter Local Area Connection: ... > Master browser name is: ... > 2 backup servers retrieved from master COMP_3 ... Let's see what we know from these 3 computers. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Network Connectivity Problem
    ... I am having a network connectivity problem with a number of Windows ... All servers are virtualised on VMWare ESX 2.5 ... I could not figure out why the network connection was ...
    (microsoft.public.windows.server.networking)
  • Re: o2 xda mini s - gprs settings
    ... Settings> Connections> ... Advanced Button> Servers tab "Use specific server address" ... Enter name for the connection "My O2 Connection" ... Existing Connections and then Tap Edit (if this isn't present then tap 'Add ...
    (uk.telecom.mobile)
  • Re: Random client slow Internet browsing
    ... "Amnon Feiner" wrote in message ... I am pointing to the parent company DNS servers, as I did before the cleanup, since I need to access their intranet. ... Ethernet adapter Server Local Area Connection: ...
    (microsoft.public.windows.server.sbs)
  • Re: Page Cannot Be Displayed
    ... >> Mergerx.local) on either network cannot connect to either remote servers ... >> Ethernet adapter Network Connection: ... >> Connection-specific DNS Suffix. ... >> Ethernet adapter Server Local Area Connection: ...
    (microsoft.public.windows.server.sbs)