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
systemctl enable sshd.serviceTo turn it off at boot time, please enter
systemctl disable sshd.service.Check if a service is enabled or disabled
systemctl status sshd.serviceIt will display a message of active or inactive service.
Reload SSHD configuration changes
systemctl start sshd.service systemctl restart sshd.service systemctl stop sshd.service systemctl reload sshd.serviceThe
startoption will initiate the SSHD service,stopwill stop it, and finally,restartorreloadwill refresh the new configurations.
Last updated