ssh启动时报错:job for sshd.service failed because the control process exited with error code. See systemctl status sshd.service and “journalctl -xe” for details
1、linux启动linux报错
[root@centos~]# systemclt start sshd
job for sshd.service failed because the control process exited with error code. See systemctl status sshd.service and “journalctl -xe” for details
2、排查报错原因
[root@centos~]#sshd -t
Missing privilege separation directory: /var/empty/sshd/
3、解决方法
[root@centos~]# mkdir /var/empty/sshd/etc
[root@centos~]# cd /var/empty/sshd/etc
[root@centos~]# ln -s /etc/localtime localtime
本文转载自: https://blog.csdn.net/qq_21410965/article/details/129432953
版权归原作者 小白走天下 所有, 如有侵权,请联系我们删除。
版权归原作者 小白走天下 所有, 如有侵权,请联系我们删除。