Services
Before checking the status of the SSH service, make sure you have the SSHD service enabled.
Turning ON the SSHD service at boot time
To turn it off at boot time, please enter
systemctl disable sshd.service
.Check if a service is enabled or disabled
It will display a message of active or inactive service.
Reload SSHD configuration changes
The
start
option will initiate the SSHD service,stop
will stop it, and finally,restart
orreload
will refresh the new configurations.
Last updated