宋子宪博客

Linux Centos7操作SSH/SSHD服务(查看/启动/重启/自启)

查看状态:
systemctl status sshd.service

启动服务:
systemctl start sshd.service

重启服务:
systemctl restart sshd.service

开机自启:
systemctl enable sshd.service

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »