Remove cloud-init configuration to allow password authentication for SSH
All checks were successful
Build a dev image / build (push) Successful in 13s
All checks were successful
Build a dev image / build (push) Successful in 13s
This commit is contained in:
parent
4cfda0ca4b
commit
1618a74f8d
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue