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"
|
echo "Restarting SSH server in 10 seconds and ending script"
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
systemctl enable sshd
|
systemctl enable ssh
|
||||||
systemctl restart sshd
|
systemctl restart ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user