STIGUI
V-256557CAT II — Medium severitySV-256557r1268251_rule

The Photon operating system must configure sshd to limit the number of allowed login attempts per connection.

Rule version PHTN-30-000088 · STIG v1 · 2026-08-31

Discussion

By setting the login attempt limit to a low value, an attacker will be forced to reconnect frequently, which severely limits the speed and effectiveness of brute-force attacks.

Check

At the command line, run the following command:

# sshd -T|&grep -i MaxAuthTries

Expected result:

MaxAuthTries 6

If the output does not match the expected result, this is a finding.

Fix

Navigate to and open:

/etc/ssh/sshd_config

Ensure the "MaxAuthTries" line is uncommented and set to the following:

MaxAuthTries 6

At the command line, run the following command:

# systemctl restart sshd.service

Identifiers

Group ID
V-256557
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-256557r1268251_rule
Check ID
C-60232r887343_chk
Fix ID
F-60175r887344_fix