From 0eb21271d82cb4ee825e3779cc1e37684054b16e Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 29 Aug 2023 17:34:21 -0700 Subject: [PATCH] Typo fix Signed-off-by: Tommy --- Ubuntu-22.04-Server.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ubuntu-22.04-Server.sh b/Ubuntu-22.04-Server.sh index f2435e6..5a6aa5c 100644 --- a/Ubuntu-22.04-Server.sh +++ b/Ubuntu-22.04-Server.sh @@ -28,8 +28,8 @@ sudo ufw enable sudo ufw allow OpenSSH # Harden SSH -echo "GSSAPIAuthentication no -echo "VerifyHostKeyDNS yes"" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf +echo 'GSSAPIAuthentication no +VerifyHostKeyDNS yes' | 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 sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/systemd/system/sshd.service.d/local.conf -o /etc/systemd/system/sshd.service.d/local.conf