From 7d2ecba6b4944cdec7a014eb8a033018d7fa4e7f Mon Sep 17 00:00:00 2001 From: Juri Grabowski Date: Sat, 22 Jan 2022 14:39:06 +0100 Subject: [PATCH] New Version of ssh allow config in subfolder --- scripts/CLOUD/99-cleanup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/CLOUD/99-cleanup b/scripts/CLOUD/99-cleanup index 458098885..f8b0909c0 100755 --- a/scripts/CLOUD/99-cleanup +++ b/scripts/CLOUD/99-cleanup @@ -5,8 +5,8 @@ if [ -f $target/files/etc/init.d/expand-root ]; then $ROOTCMD insserv --default expand-root fi -sed -i "s/PermitRootLogin yes/PermitRootLogin without-password/" $target/etc/ssh/sshd_config -ainsl /etc/ssh/sshd_config 'ClientAliveInterval 120' +ainsl -a /etc/ssh/sshd_config.d/PermitRootLogin.conf 'PermitRootLogin without-password' +ainsl -a /etc/ssh/sshd_config.d/ClientAliveInterval.conf 'ClientAliveInterval 120' ainsl -a /etc/modprobe.d/blacklist.conf 'blacklist pcspkr' ainsl -a /etc/modprobe.d/blacklist.conf 'blacklist floppy'