设置sshd服务开机自启的命令是?( )
A: systemctl start sshd
B: systemctl enable sshd
C: systemctl status sshd
D: systemctl restart sshd
A: systemctl start sshd
B: systemctl enable sshd
C: systemctl status sshd
D: systemctl restart sshd
举一反三
- 启动sshd服务的命令 A: systemctl start sshd B: systemctl enable sshd
- 在CentOS7中,立即启动sshd服务的命令是 A: systemclt start sshd B: service start sshd C: service sshd start D: systemctl sshd start
- 启动sshd服务的shell命令用法不正确的是: A: systemctl start sshd.service B: systemctl start sshd C: systemd start sshd.servie D: service sshd.service start
- 通过命令"systemctl 选项 sshd”,_______选项能够查看sshd服务的状态
- 重启系统中的sshd服务,写出该命令。 A: service sshd start B: service sshd status C: service sshd stop D: service sshd restart