This commit is contained in:
2025-07-02 18:43:18 -05:00
parent ce1bf7d220
commit ce5bb0be6f

View File

@ -65,11 +65,11 @@ UBUNTU_CHECK="$(distro | grep -c Ubuntu)"
if [ "$UBUNTU_CHECK" -ne 1 ]; then if [ "$UBUNTU_CHECK" -ne 1 ]; then
cat ../../ConfigFiles/SSH/Configs/ssh-audit-hardening.conf >/etc/ssh/sshd_config.d/ssh-audit_hardening.conf cat ../../ConfigFiles/SSH/Configs/ssh-audit-hardening.conf >/etc/ssh/sshd_config.d/ssh-audit_hardening.conf
chmod og-rwx /etc/ssh/sshd_config.d/*
fi fi
# Perms on sshd_config # Perms on sshd_config
chmod og-rwx /etc/ssh/sshd_config chmod og-rwx /etc/ssh/sshd_config
chmod og-rwx /etc/ssh/sshd_config.d/*
#todo #todo