how to increase AllowUsers beyond 256 in sshd_config

Darren Tucker dtucker at
Sat Dec 9 07:33:59 AEDT 2017

On 9 December 2017 at 03:36, LI Michael <Michael.LI at> wrote:

> have more than 256 users, how to increase AllowUsers beyond 256 ?

That limit was recently removed ( however that
change has not yet made it into a released version.  Until then, I suggest
either putting your users into a group and using AllowGroups or
increasing MAX_ALLOW_USERS in servconf.h and recompiling (do "make clean"

Darren Tucker (dtucker at
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list