From a7bcde41783b170773277c3832b95838966e743e Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Sat, 24 Jun 2023 18:40:58 +0200 Subject: [PATCH] safely create .ssh folder --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1a0dfb1..d78885e 100755 --- a/install.sh +++ b/install.sh @@ -155,7 +155,7 @@ PS3="Select the Server-Function: " pct start $LXC_NBR; sleep 5; # Set the root ssh key -pct exec $LXC_NBR -- mkdir /root/.ssh +pct exec $LXC_NBR -- mkdir -p /root/.ssh pct push $LXC_NBR $LXC_AUTHORIZED_KEY /root/.ssh/authorized_keys pct push $LXC_NBR "$config" /root/zamba.conf pct exec $LXC_NBR -- sed -i "s,\${service},${service}," /root/zamba.conf