fixed line
This commit is contained in:
@@ -242,7 +242,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user