Accidentaly enabled password authentication instead of disabling it

This commit is contained in:
Michael Kroes 2016-03-28 09:28:12 +02:00
parent 75d2831fd8
commit 913eafd2d0
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ if [ ! -z "$IP_ADDRESS_OF_USER" ]; then
# password based logins
echo "Disabling password authentication for ssh"
tools/editconf.py /etc/ssh/sshd_config -s \
PasswordAuthentication=yes
PasswordAuthentication=no
restart_service ssh
fi