Redirecting to /bin/systemctl restart sshd.service

文章时效性提示

这是一篇发布于 1609 天前的文章,部分信息可能已发生改变,请注意甄别。

云服务器 ECS Linux CentOS 7 下重启服务不再通过service操作,而是通过systemctl操作。

查看:systemctl status sshd.service

启动:systemctl start sshd.service

重启:systemctl restart sshd.service

自启:systemctl enable sshd.service

--------------本文结束 感谢您的阅读--------------