Forum Discussion

Caswell_334105's avatar
Caswell_334105
Icon for Nimbostratus rankNimbostratus
Apr 19, 2018

SSH session timeout

Hi Guys,

 

I need help please on how to increase timeout for SSH session, we have a Virtual server with service port of 22 and pool member with health monitor of tcp. If we keep the ssh session idle (using putty & user login) for more than 5 mins it automatically get disconnected.

 

regards Caswell

 

3 Replies

  • Our Linux team made these changes on their side but still the problem persist.

     

    Host * ServerAliveInterval 120 ServerAliveCountMax 30 ConnectTimeout 30

     

  • Please configure TCP profile with an idle timeout as per your requirement and then assign to the virtual server on F5.

     

  • Hi Caswell,

    This is working as per your current design. If you'd like to have increase the idle session time, you are required to have a custom profile mapped to your existing Virtual Server.

    Refer the article K7606: Overview of BIG-IP idle session time-outs

    TCP profile - The default idle timeout is 300 seconds. Which is 5mins.

    Do not map this tcp profile, rather create a new custom tcp profile and modify the timeout value to your needs. And then map the custom profile to your VS.