Forum Discussion

morrie_369352's avatar
morrie_369352
Icon for Nimbostratus rankNimbostratus
Apr 11, 2019

Limitation of the number of connection

Hi there

 

Are there ways to limit number of ssh connection for management access to BIG-IP.

 

and I would like to know the default numbers.

 

thank you

 

2 Replies

  • Hi Morrie,

    F5 does not provide a supported configuration to limit the maximum number of concurrent ssh sessions and they don't limit those by default.

    If you need to limit the maximum number of concurrent logins you could tweak your limits.conf file. But I can't tell you possible side effects, so better consult F5 Support before changing those settings...

     less /etc/security/limits.conf
     man limits.conf
    

    Cheers, Kai

  • Hi,

    Natively, F5 don't allow to limit ssh connection. you can act on the following point:

    expert@(appliance-name)(cfg-sync In Sync)(Active)(/Common)(tmos) list sys sshd all-properties
    sys sshd {
        allow { ALL }
        banner disabled
        banner-text none
        description none
        fips-cipher-version 0
        inactivity-timeout 0
        include none
        log-level info
        login enabled
        port 22
    }
    

    You can restrict access to specific IP but don't limit connection number...

    For more info:

    https://support.f5.com/csp/article/K80425458

    regards