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