-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os_sshd_fips_compliant remediation does not gracefully handle previous similar configuration settings #458
Comments
I had the same issue resulted in Integer 3 instead of 7. Ran a -cfc and still failed for the same exact integer as before. Received an odd Token message, so I even tried running the reset command listed in the yaml file: /usr/libexec/reset-ssh-configuration. Same results. Ended up rebuilding my macOS 15.2 device and it sailed through -cfc. |
In macOS 15.2 there is a reset option for sshd configurations. See the note in the yaml.
@bernstei can you give this a try and let us know if that resolves your issue. |
So, it's a little weird. It does work in the sense that after I run it, the compliance remediation + check passes with no failures. However, there's one very weird thing that I noticed. The particular rule that was giving me problems was Is it expected that |
Wait, maybe I'm seeing what's happening - I didn't notice that they also appear in |
The remediation for
os_sshd_fips_compliant
atmacos_security/rules/os/os_sshd_fips_compliant.yaml
Line 40 in 30d4a1a
01-mscp-sshd.conf
does not pass the compliance check for the rule.The text was updated successfully, but these errors were encountered: