Remove cloud-init configuration to allow password authentication for SSH
All checks were successful
Build a dev image / build (push) Successful in 13s

This commit is contained in:
Adam Štrauch 2025-10-05 21:43:47 +02:00
parent 4cfda0ca4b
commit 1618a74f8d
Signed by: cx
GPG key ID: 7262DAFE292BCE20

View file

@ -12,4 +12,7 @@ X11Forwarding no
Subsystem sftp internal-sftp" > /etc/ssh/sshd_config Subsystem sftp internal-sftp" > /etc/ssh/sshd_config
fi fi
# Cloud image generates this file which prevents sshd from accepting passwords
rm -f /etc/ssh/sshd_config.d/50-cloud-init.conf
exec /usr/sbin/sshd -E /var/log/sshd.log -D exec /usr/sbin/sshd -E /var/log/sshd.log -D