Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Anolis OS 23
Services
SSH Server
Configure OpenSSH Server if Necessary
Set SSH authentication attempt limit
Set SSH authentication attempt limit
An XCCDF Rule
Details
Profiles
Prose
Set SSH authentication attempt limit
Medium Severity
The
MaxAuthTries
parameter specifies the maximum number of authentication attempts permitted per connection. Once the number of failures reaches half this value, additional failures are logged. to set MaxAUthTries edit
/etc/ssh/sshd_config
as follows:
MaxAuthTries