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
- Next message: Oscar del Rio: "Re: Another ssh problem - it looks up after a couple of minutes."
- Previous message: Laurent Blume: "Re: Another ssh problem - it looks up after a couple of minutes."
- In reply to: Dave: "Another ssh problem - it looks up after a couple of minutes."
- Next in thread: Oscar del Rio: "Re: Another ssh problem - it looks up after a couple of minutes."
- Reply: Oscar del Rio: "Re: Another ssh problem - it looks up after a couple of minutes."
- Reply: Dave: "Re: Another ssh problem - it looks up after a couple of minutes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Next message: Oscar del Rio: "Re: Another ssh problem - it looks up after a couple of minutes."
- Previous message: Laurent Blume: "Re: Another ssh problem - it looks up after a couple of minutes."
- In reply to: Dave: "Another ssh problem - it looks up after a couple of minutes."
- Next in thread: Oscar del Rio: "Re: Another ssh problem - it looks up after a couple of minutes."
- Reply: Oscar del Rio: "Re: Another ssh problem - it looks up after a couple of minutes."
- Reply: Dave: "Re: Another ssh problem - it looks up after a couple of minutes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|