service sshd status
Solution
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: failed (Result: start-limit-hit) since Wed 2019-10-02 11:07:54 EDT; 36s ago
Process: 476 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)
Oct 02 11:07:54 box systemd[1]: Failed to start OpenBSD Secure Shell server.
Oct 02 11:07:54 box systemd[1]: ssh.service: Unit entered failed state.
Oct 02 11:07:54 box systemd[1]: ssh.service: Failed with result 'exit-code'.
Oct 02 11:07:54 box systemd[1]: ssh.service: Service hold-off time over, scheduling restart.
Oct 02 11:07:54 box systemd[1]: Stopped OpenBSD Secure Shell server.
Oct 02 11:07:54 box systemd[1]: ssh.service: Start request repeated too quickly.
Oct 02 11:07:54 box systemd[1]: Failed to start OpenBSD Secure Shell server.
Oct 02 11:07:54 box systemd[1]: ssh.service: Unit entered failed state.
Oct 02 11:07:54 box systemd[1]: ssh.service: Failed with result 'start-limit-hit'.
Oct 2 11:09:08 box sshd[511]: Missing privilege separation directory: /var/run/sshd
Oct 2 11:09:08 box systemd[1]: ssh.service: Control process exited, code=exited status=255
Oct 2 11:09:08 box systemd[1]: Failed to start OpenBSD Secure Shell server.
Oct 2 11:09:08 box systemd[1]: ssh.service: Unit entered failed state.
Oct 2 11:09:08 box systemd[1]: ssh.service: Failed with result 'exit-code'.
Oct 2 11:09:08 box systemd[1]: ssh.service: Service hold-off time over, scheduling restart.
mkdir -p /var/run/sshd
echo "mkdir -p /var/run/sshd" >> /etc/rc.local
linux, ubuntu, debian, separation, directory, var, sshd, ssh, openbsd, shell, server, lib, systemd, enabled, vendor, preset, active, wed, edt, execstartpre, usr, sbin, exited, oct, scheduling, restart, repeated, mkdir, echo, quot, etc, rc,