Problem of updating openssh-4.4p1 to openssh-5.5p1 with MAX_ALLOW_USERS option
djm at mindrot.org
Sat Dec 11 09:57:11 EST 2010
On Fri, 10 Dec 2010, ?????? ??????? wrote:
> We have the server with RHEL 5.5 (64-bit) and need to connect many parallel users over ssh (OpenSSH).
> Usually we use openssh-4.4p1, builded from the sources with changed "servconf.h" file by this type:
> #define MAX_ALLOW_USERS 10000 /* Max # users on allow list. */
> #define MAX_DENY_USERS 10000 /* Max # users on deny list. */
> #define MAX_ALLOW_GROUPS 10000 /* Max # groups on allow list. */
> #define MAX_DENY_GROUPS 10000 /* Max # groups on deny list. */
Those definitions don't do what you think they do. They are the number
of users that can appear in AllowUsers/DenyUsers/AllowGroups/DenyGroups
statement and have no effect on the number of users that are allowed to
concurrently log in.
More information about the openssh-unix-dev