diff --git a/GCP-Debian-11.sh b/GCP-Debian-11.sh index 2143704..1224f26 100644 --- a/GCP-Debian-11.sh +++ b/GCP-Debian-11.sh @@ -15,7 +15,7 @@ sudo apt upgrade -y # Setup ufw sudo apt install ufw -y sudo ufw enable -sudo ufw allow 22/tcp +sudo ufw allow OpenSSH # Harden SSH echo 'GSSAPIAuthentication no diff --git a/Ubuntu-22.04-Server.sh b/Ubuntu-22.04-Server.sh index 0663317..3d50902 100644 --- a/Ubuntu-22.04-Server.sh +++ b/Ubuntu-22.04-Server.sh @@ -25,7 +25,7 @@ sudo systemctl restart chronyd sudo apt purge -y ufw sudo snap install ufw sudo ufw enable -sudo ufw allow 22 +sudo ufw allow OpenSSH # Harden SSH echo "GSSAPIAuthentication no" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf