fixed line

This commit is contained in:
2024-04-12 11:57:44 -05:00
parent 3e449f75c0
commit bb88a8431f
2 changed files with 2 additions and 2 deletions

View File

@@ -270,7 +270,7 @@ if [ $isInFile -eq 0 ]
sed -i 's/#PasswordAuthentication no/PasswordAuthentication no/g' /etc/ssh/sshd_config
sed -i 's/PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config
rm /etc/ssh/sshd_config.d > /dev/null 2>&1
rm /etc/ssh/sshd_config.d/* > /dev/null 2>&1
# fi
fi