TMAegis
Aturan lainnya untuk cos

TMA-COS-5.1.21

Ensure SSH MaxStartups is configured

SedangLevel 2Tinjauan manualcos

Deskripsi

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.

Cara pemeriksaan

Metode audit: Tinjauan manual

Rekomendasi ini tidak dapat diperiksa secara otomatis. Pemindaian akan menampilkannya beserta petunjuk ini saat Anda memberikan opsi --include-manual.

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

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

Edit the /etc/ssh/sshd_config file to set the parameter as follows: maxstartups 10:30:60

Properti

Sistem operasi
Apa saja
Tag
container-optimized-oscosssh
Referensi
CIS Google Container-Optimized OS Benchmark v1.2.0 - 5.1.21 Ensure SSH MaxStartups is configured