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