查看状态:
systemctl status sshd.service
启动服务:
systemctl start sshd.service
重启服务:
systemctl restart sshd.service
开机自启:
systemctl enable sshd.service
未经允许不得转载:王超博客 » CentOS 7 SSH/SSHD服务查看状态/启动/重启/开机自启命令
查看状态:
systemctl status sshd.service
启动服务:
systemctl start sshd.service
重启服务:
systemctl restart sshd.service
开机自启:
systemctl enable sshd.service
未经允许不得转载:王超博客 » CentOS 7 SSH/SSHD服务查看状态/启动/重启/开机自启命令