mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-23 02:27:05 +00:00
Accidentaly enabled password authentication instead of disabling it
This commit is contained in:
parent
75d2831fd8
commit
913eafd2d0
@ -32,7 +32,7 @@ if [ ! -z "$IP_ADDRESS_OF_USER" ]; then
|
|||||||
# password based logins
|
# password based logins
|
||||||
echo "Disabling password authentication for ssh"
|
echo "Disabling password authentication for ssh"
|
||||||
tools/editconf.py /etc/ssh/sshd_config -s \
|
tools/editconf.py /etc/ssh/sshd_config -s \
|
||||||
PasswordAuthentication=yes
|
PasswordAuthentication=no
|
||||||
|
|
||||||
restart_service ssh
|
restart_service ssh
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user