CentOS修改ssh端口时重启ssh服务报错Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details.

输入命令:setenforce 0
再次重启即可
产品更新、运营公告与行业观察
一手消息,第一时间同步给你
CentOS修改ssh端口时重启ssh服务报错Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details.

输入命令:setenforce 0
再次重启即可