Corrected name of service
Corrected name of service to enable from sshd -> ssh
This commit is contained in:
@@ -228,5 +228,5 @@ echo ""
|
||||
echo "Restarting SSH server in 10 seconds and ending script"
|
||||
sleep 10
|
||||
|
||||
systemctl enable sshd
|
||||
systemctl restart sshd
|
||||
systemctl enable ssh
|
||||
systemctl restart ssh
|
||||
|
||||
Reference in New Issue
Block a user