how to increase AllowUsers beyond 256 in sshd_config
djm at mindrot.org
Sun Dec 10 23:00:30 AEDT 2017
On Fri, 8 Dec 2017, LI Michael wrote:
> There are maximum 256 AllowUsers lines in sshd_config , something like
> AllowUsers user1 at 10.8.73.1
Even if AllowUsers supports more than 256 entries, there is still a
fixed limit on sshd_config line length at 4 or 8 KB.
You can work around both using multiple "Match user" stanzas though.
More information about the openssh-unix-dev