Dieter Bloms wrote:
Hi,
On Thu, Apr 29, Emiliano Sutil wrote:
I have Suse 9.0 and I use ssh to create tunnels to access several services of the server. My problem is that ssh close the connections if there is no activity in the tunnel. I have the property KeepAlive yes in the sshd_config but I doesnt work. I have ipchains as firewall, perhaps this is my problem but I don´t know,
you have to set the parameter "ClientAliveInterval" in the sshd_config. "KeepAlive" sends only TCP keepalive messages. If you enable ClientAliveInterval it sends alive message through the tunnel.
Sorry, I have send all of my replies to personal email instead of the list, (a bit newbie with this list) I re-post the question to the list: I´ll try it but, which time interval is right? I don´t know the limit time to the TCP to close the tunnel -- Emiliano Sutil García ANÁLISIS Y DESARROLLO DE SOFTWARE S.L. Urb. San Roque, 22 24540 Cacabelos (León) España email: emiliano@iranon.com Telf. 902 100 103 Fax. 902 201 801