CentOS修改ssh端口时重启ssh服务报错Job for sshd.service failed
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
再次重启即可