This website requires JavaScript.
Explore
Help
Sign In
Lubuntu
/
livecd-rootfs
Watch
3
Star
0
Fork
0
You've already forked livecd-rootfs
mirror of
https://git.launchpad.net/livecd-rootfs
synced
2025-02-10 12:47:30 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
livecd-rootfs
/
live-build
/
ubuntu-cpc
/
hooks.d
/
chroot
/
052-ssh_authentication.chroot
4 lines
101 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add hooks and includes.
2015-04-08 09:34:15 +01:00
#!/bin/bash
Revert "fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)" 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 9a8d7a6e4d7a0b50024df6b92e0711a2f42454a0.
2022-07-11 14:14:49 +02:00
sed -i "s|#PasswordAuthentication yes|PasswordAuthentication no|g" /etc/ssh/sshd_config
Reference in New Issue
Copy Permalink