2017年9月7日星期四

The cloud server ECS CentOS 7 restarts the sshd service operation method

DEDICATED SERVER

US DEDICATED SERVERS


In the cloud server ECS Linux CentOS 7 restart service is no longer through the service operation, but through the systemctl operation.

The operating instructions are as follows:

1. Check whether the sshd service starts:

systemctl status sshd.service
2. If you do not start, you need to start the service:

systemctl start sshd.service
3. Restart the sshd service:

systemctl restart sshd.service
4. Set the service to open from:

systemctl enable sshd.service

没有评论:

发表评论