mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-25 12:21:10 +00:00
This change triggered a bug in cloud-init (see LP:1968873). cloud-init does not recongnize sshd options set in /etc/ssh/sshd_config.d/ and cloud-init modifies directly /etc/ssh/sshd_config which gets then overwritten by settings from /etc/ssh/sshd_config.d/ . This reverts commit b54d24ff3310f7ace00ab08e0dacfdc89e026f1c.
4 lines
101 B
Bash
Executable File
4 lines
101 B
Bash
Executable File
#!/bin/bash
|
|
|
|
sed -i "s|#PasswordAuthentication yes|PasswordAuthentication no|g" /etc/ssh/sshd_config
|