查看状态:
systemctl status sshd.service
Linux Centos7操作SSHSSHD服务(查看启动重启自启).png

启动服务:
systemctl start sshd.service

重启服务:
systemctl restart sshd.service

开机自启:
systemctl enable sshd.service

最后修改:2020 年 08 月 25 日
如果觉得我的文章对你有用,请随意赞赏