Running service sshd restart
and then service sshd status
on my system as root prints the following error:
Redirecting to /bin/systemctl status sshd.service sshd.service - OpenSSH server daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled) Active: failed (Result: exit-code) since Sat, 16 Feb 2013 21:38:38 +0330; 6s ago
Process: 2207 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=255) Process: 2204 ExecStartPre=/usr/sbin/sshd-keygen (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/sshd.serviceFeb 16 21:38:38 localhost.localdomain sshd[2207]: /var/empty/sshd must be own...
How do I find the cause of the problem?
/var/empty/sshd
, here (Fedora 18) I havedrwx--x--x. 2 root root 4096 Feb 8 11:18 /var/empty/sshd/
, that directory is owned by packageopenssh-server
(perhaps reinstall that one?).