1、查看状态:
1 | systemctl status sshd.service |
2、启动服务:
1 | systemctl start sshd.service |
3、重启服务:
1 | systemctl restart sshd.service |
4、开机自启:
1 | systemctl enable sshd.service |
1、查看状态:
1 | systemctl status sshd.service |
2、启动服务:
1 | systemctl start sshd.service |
3、重启服务:
1 | systemctl restart sshd.service |
4、开机自启:
1 | systemctl enable sshd.service |