service
operation to restart the sshd service, but uses systemctl
instead.Examples
- Identify whether the sshd service has been started using the figure below:
- If the service is not started, run the
systemctl start sshd.service
command to start the service.
- If the service is not started, run the
- Run the
systemctl restart sshd.service
command to restart the sshd service. - Run the
systemctl enable sshd.service
command to set the service to auto-start.
If the problem persists, log on to Alibaba Cloud Community for free consultation, or contact Alibaba Cloud Marketplace sellers for help.
No comments:
Post a Comment