I’m making an attempt to restrict the variety of whole OpenSSH connections to our Unix techniques.
At first, I’ve tried modifying OpenSSH configuration with
MaxStartups choices however with no success. They’re ignored (possibly I do not actually perceive what this choices are meant to).
Utilizing PAM limits in
/and many others/safety/limits.conf I’ve succeed with
# restrict connections to the system to 10 * - maxsyslogins 10
It really works, however we’re limiting all sort of logins to the system, and utilizing a 3rd get together resolution to use limitations to OpenSSH. By instance, we’ve got completely different sort of Unix (HP-UX, Solaris, Linux, AIX) and in not each server we’re utilizing PAM for authentication.
I imply, does it exists an easier and extra direct method to do it? One thing much like Apache