Fix SSH PasswordAuthentication

This commit is contained in:
Lionel 2025-02-20 18:10:53 +01:00
parent 946b61aa1a
commit 31510c4e5f

View File

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
# Disable SSH Server by default
systemctl disable sshd.service systemctl disable sshd.service
# Edit live config for allowing PasswordAuthentication
sed -i '\:PasswordAuthentication:d' /lib/live/config/1160-openssh-server