Set SSH MaxSessions limit
An XCCDF Rule
Description
The MaxSessions
parameter specifies the maximum number of open sessions permitted
from a given connection. To set MaxSessions edit
/etc/ssh/sshd_config
as follows:
MaxSessions
Rationale
To protect a system from denial of service due to a large number of concurrent sessions, use the rate limiting function of MaxSessions to protect availability of sshd logins and prevent overwhelming the daemon.
- ID
- xccdf_org.ssgproject.content_rule_sshd_set_max_sessions
- Severity
- Medium
- References
- Updated