Forum Discussion
stolivar_88319
Nimbostratus
Feb 09, 2009ssh disconnects after a few minutes of no activity
I have a LB virtual server setup with two pools, a primary and a backup pool. Each pool has only one server in it. our primary server is in the first pool and there are virtual servers to handle http https, ftp and ssh. All traffic seems to be good but ssh seems to kill the connection after two minutes of inactivity. The timeouts are all set to 15 minutes. I just can't figure out what the problem might be. Thoughts?
- JRahm
Admin
which timers, specifically, were set? LTM and/or server? A tcpdump of the client and server networks will show where the timeout is occuring. - stolivar_88319
Nimbostratus
I have set the timeout on the health monitor, as well as created an iRule that keeps ssh open. Not sure where else in the F5 to look. This is clearly an F5 issue, because if I ssh directly to the box, my session will stay open as long as I want. - dennypayne
Employee
Health monitor timeout only controls when the service is marked down. You need to look in the tcp profile. If you are using the default tcp profile, the idle timeout is 300 seconds. I would create a new tcp profile with a longer idle timeout and assign that to your ssh virtual server. - dennypayne
Employee
Posted By dennypayne on 02/09/2009 1:01 PM
- stolivar_88319
Nimbostratus
that did it, thank you. I set up a new profile
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects