码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-10-22 11:13:30      阅读:378      评论:0      收藏:0      [点我收藏+]

标签:enable   重启   ble   pre   logs   nbsp   star   查看   ssh   

查看状态:

systemctl status sshd.service

启动服务:

systemctl start sshd.service

重启服务:

systemctl restart sshd.service

开机自启:

systemctl enable sshd.service

 

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

标签:enable   重启   ble   pre   logs   nbsp   star   查看   ssh   

原文地址:http://www.cnblogs.com/linxx/p/7707615.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!