重启sshd服务

查看状态:
systemctl status sshd.service

启动服务:
systemctl start sshd.service

重启服务:
systemctl restart sshd.service

开机自启:
systemctl enable sshd.service

 

posted @ 2019-01-30 13:05  effortsing  阅读(2913)  评论(0编辑  收藏  举报