From 4c9c1150be6bb7a799ab1366a3bc70bf5832b551 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 2 Jul 2024 15:14:43 -0700 Subject: [PATCH] Consistency fix --- Fedora-Server-40.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Fedora-Server-40.sh b/Fedora-Server-40.sh index 291ea9c..05daf55 100644 --- a/Fedora-Server-40.sh +++ b/Fedora-Server-40.sh @@ -56,10 +56,10 @@ sudo systemctl restart chronyd sudo /usr/bin/sed -i 's/\s+nullok//g' /etc/pam.d/system-auth # Harden SSH -unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/ssh_config.d/10-custom.conf | sudo tee /etc/ssh/ssh_config.d/10-custom.conf -sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/sshd_config.d/10-custom.conf | sudo tee /etc/ssh/sshd_config.d/10-custom.conf sudo chmod 644 /etc/ssh/sshd_config.d/10-custom.conf +unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/ssh/ssh_config.d/10-custom.conf | sudo tee /etc/ssh/ssh_config.d/10-custom.conf +sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf sudo mkdir -p /etc/systemd/system/sshd.service.d/ unpriv curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf | sudo tee /etc/systemd/system/sshd.service.d/override.conf sudo chmod 644 /etc/systemd/system/sshd.service.d/override.conf