From eb6ee7d9b9d9adc441c8b3639df308e1252406e5 Mon Sep 17 00:00:00 2001 From: ageissler Date: Thu, 2 Jan 2025 18:55:08 +0100 Subject: [PATCH] setup/init-sshd.sh aktualisiert --- setup/init-sshd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/init-sshd.sh b/setup/init-sshd.sh index 835b544..36bddba 100644 --- a/setup/init-sshd.sh +++ b/setup/init-sshd.sh @@ -55,4 +55,5 @@ echo "$UNIQ2" >> /etc/ssh/sshd_config sed -i "s/^[# ]*PermitRootLogin.*$/PermitRootLogin no/g" /etc/ssh/sshd_config sed -i "s/^[# ]*AllowTcpForwarding.*$/AllowTcpForwarding no/g" /etc/ssh/sshd_config -systemctl restart sshd \ No newline at end of file +systemctl restart sshd +systemctl restart ssh \ No newline at end of file