Restart the sshd service on ECS CentOS 7 - 21102019

Breaking

Post Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

Saturday, April 13, 2019

Restart the sshd service on ECS CentOS 7

Note: ECS Linux CentOS 7 does not use the service operation to restart the sshd service, but uses systemctl instead.

Examples

  1. Identify whether the sshd service has been started using the figure below:
    judgestandard
    • If the service is not started, run the systemctl start sshd.service command to start the service.
  2. Run the systemctl restart sshd.service command to restart the sshd service.
  3. 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

Post Top Ad

Responsive Ads Here