TMA-COS-5.1.21
Ensure SSH MaxStartups is configured
Beschreibung
The MaxStartups parameter specifies the maximum number of concurrent unauthenticated connections to the SSH daemon. To protect a system from denial of service due to a large number of pending authentication connection attempts, use the rate limiting function of MaxStartups to protect availability of sshd logins and prevent overwhelming the daemon.
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
Run the following command and verify that output MaxStartups is 10:30:60 or matches site policy: # sshd -T | grep -i maxstartups # maxstartups 10:30:60
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Edit the /etc/ssh/sshd_config file to set the parameter as follows: maxstartups 10:30:60
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- container-optimized-oscosssh
- Referenz
- CIS Google Container-Optimized OS Benchmark v1.2.0 - 5.1.21 Ensure SSH MaxStartups is configured