Service configuration files enable or disable features of their respective services, which if configured incorrectly can lead to insecure and vulnerable configurations. Therefore, service configuration files must be owned by the correct group to prevent unauthorized changes.
OpenSSH uses the first occurrence of a keyword it sees, and drop-in files are read in lexicographical order at the start of the configuration. Red Hat recommends using drop-in files rather than changing base configuration files.
Check
Verify RHEL 10 is configured so that SSH server configuration files' permissions are not modified.
Check the permissions of the "/etc/ssh/sshd_config" file with the following command: