From d1ef7118d5dafa819d83d4abd207f4ca65ac9eab Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Wed, 2 Jul 2025 18:47:21 -0500 Subject: [PATCH] debian fails... let's see if this fixes it. --- ProjectCode/Modules/Security/secharden-ssh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectCode/Modules/Security/secharden-ssh.sh b/ProjectCode/Modules/Security/secharden-ssh.sh index 6a5dfa7..0395f55 100644 --- a/ProjectCode/Modules/Security/secharden-ssh.sh +++ b/ProjectCode/Modules/Security/secharden-ssh.sh @@ -59,7 +59,7 @@ cat ../../ConfigFiles/SSH/Configs/tsys-sshd-config >/etc/ssh/sshd_config #Don't deploy this config to a ubuntu server, it breaks openssh server. Works on kali/debian. export UBUNTU_CHECK -UBUNTU_CHECK="$(distro | grep -c Ubuntu)" +UBUNTU_CHECK="$(distro | grep -c Ubuntu||true)" if [ "$UBUNTU_CHECK" -ne 1 ]; then cat ../../ConfigFiles/SSH/Configs/ssh-audit-hardening.conf >/etc/ssh/sshd_config.d/ssh-audit_hardening.conf