本篇介绍如何在 CentOS 系统中怎样启动sshd服务,如何开机自启
命令概况
CentOS < 7.x1
2service command     # 使用service命令做start|stop|restart sshd
chkconfig command   # turn on or off 机器自启sshd
CentOS >= 7.x1
systemctl command # 管理 start|stop|start 自启sshd
CentOS < 7.x
chkconfig
1  | $ chkconfig sshd on # 开机自启sshd  | 
service
1  | $ service sshd start | stop | restart  | 
CentOS >= 7.x
1  | $ systemctl enable sshd.service # 开机自启sshd  | 
最近热读
            
            
            
            
            
            
            
            
            
            
            
      
                扫码关注公众号,或搜索公众号“温欣爸比”
                及时获取我的最新文章