From 52142bfbafff1f5a943423e8628847f2c456748a Mon Sep 17 00:00:00 2001 From: akanealw Date: Fri, 22 Dec 2023 20:07:59 -0600 Subject: [PATCH] fixed typo --- debian/debian-configure-sshd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/debian-configure-sshd.sh b/debian/debian-configure-sshd.sh index fad2c51..2614200 100644 --- a/debian/debian-configure-sshd.sh +++ b/debian/debian-configure-sshd.sh @@ -24,7 +24,7 @@ fi isInFile=$(cat /etc/hostname | grep -c "proxmox") if [ $isInFile -eq 0 ] then - isInFile=$(cat /etc/ssh/sshd_config | grep -c "PasswordAuthentication no") + isInFile=$(cat /etc/ssh/sshd_config | grep -c "#PasswordAuthentication no") if [ $isInFile -eq 0 ] then sed -i 's/#PasswordAuthentication no/PasswordAuthentication no/g' /etc/ssh/sshd_config