Re: Putty



Hi Alex

On 2006-10-16, Alex <alexqua@xxxxxxxxx> wrote:

I setup a connection to a server behind a firewall using the tunnel
function in putty (v. 0.56).
Even though the number of seconds between keepalive has been set to 60,
after some minutes of idle the connection is dropped.
Does anyone know if there's a way to forward keepalive packets to the
target host with putty?

Have you enabled the option "Enable TCP keepalives" in PuTTY? It is
right under field you enter seconds between keepalives. Maybe this will
keep your connection running.

Another possibility is to check the configuration of the SSH daemon. The
ssh daemon supports two sorts of keep alive messages: TCP keepalive
messages and SSH specific alive messages. For details about this options
please check the following paragraphs in sshd_config(5):

ClientAliveCountMax
ClientAliveInterval
TCPKeepAlive

The enabling of one or both of these keep alive messages may help solve
your problem.

HTH,
Bruno

.



Relevant Pages

  • Re: Putty
    ... function in putty. ... Have you enabled the option "Enable TCP keepalives" in PuTTY? ... Another possibility is to check the configuration of the SSH daemon. ... ssh daemon supports two sorts of keep alive messages: ...
    (comp.security.ssh)
  • Re: Redhat Enterprise 4 and 15 second delays with NFS via TCP
    ... If the client is leaking connections, ... server will wait longer than the client before closing the connection ... This close the connection after not seeing ... > You can read my negative experiences with keepalives in that thread, ...
    (comp.protocols.nfs)
  • Re: Redhat Enterprise 4 and 15 second delays with NFS via TCP
    ... > server will wait longer than the client before closing the connection ... This close the connection after not seeing ... >> You can read my negative experiences with keepalives in that thread, ...
    (comp.protocols.nfs)
  • Re: TCP Keepalives Problem on Linux
    ... the connection remains "active" rather than ... idle so the keepalives should not start. ... It is useful for understanding what Linux ...
    (comp.os.linux.networking)
  • Re: Long keepidle time
    ... Most applications that open a large number of connections are smart enough to notice that the other end of the connection has gone silent and automatically terminate the connection. ... In the case of telnet / ssh sessions, you don't want keepalive being too active. ... So, in summary, there are many opinions about keepalives. ...
    (freebsd-net)