how to increase AllowUsers beyond 256 in sshd_config

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


On 9 December 2017 at 03:36, LI Michael <Michael.LI at swift.com> wrote:
[...]

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

That limit was recently removed (
http://anongit.mindrot.org/openssh.git/commit/?id=dceabc7a) 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"
first).

-- 
Darren Tucker (dtucker at dtucker.net)
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