diff --git a/debian/debian-essentials.sh b/debian/debian-essentials.sh index 2f63415..291d33c 100755 --- a/debian/debian-essentials.sh +++ b/debian/debian-essentials.sh @@ -378,9 +378,9 @@ if [[ ! -f /root/.ssh/server-root ]] fi # restart sshd +systemctl restart ssh systemctl restart sshd - # lock root isInFile=$(cat /etc/hostname | grep -c "BackupServer") if [ $isInFile -eq 0 ]