mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-19 18:17:22 +01:00
Accidentaly enabled password authentication instead of disabling it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user