From ab40267e90f8309d79e2165fb219ec8877e8010a Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 25 Mar 2023 20:21:12 -0400 Subject: [PATCH] Update alpine-install.func enable root SSH access --- misc/alpine-install.func | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/alpine-install.func b/misc/alpine-install.func index f85d8d83..a7d282d9 100644 --- a/misc/alpine-install.func +++ b/misc/alpine-install.func @@ -111,6 +111,7 @@ motd_ssh() { echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd if [[ "${SSH_ROOT}" == "yes" ]]; then $STD rc-update add sshd + sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config $STD /etc/init.d/sshd start fi }