Re: SSH timeout on GSI-Machines? [message #328 is a reply to message #320] |
Mon, 19 April 2004 14:28 |
Gabriel Stoicea
Messages: 1 Registered: April 2004 Location: National Institute for Ph...
|
occasional visitor |
|
|
Dear Michael, Dear all,
I have the same problem between Bucharest and GSI in both ways. I studied a litle bit this problem and I get this answer from
openssh FAQ at http://www.openssh.com/faq.html :
2.12 - My ssh connection freezes or drops out after N minutes of inactivity.
This is usually the result of a packet filter or NAT device timing out your TCP connection due to inactivity. You can enable ClientAliveInterval in the server's sshd_config, or enable ServerAliveInterval in the client's ssh_config (the latter is available in OpenSSH 3.8 and newer).
Enabling either option and setting the interval for less that the time it takes to time out your session will ensure that the connection is kept "fresh" in the device's connection table.
Best regards,
Gabriel
|
|
|