SSH suddenly fails to log in, and an error is reported: failed to start openssh daemon

Execute sshd - T to view the cause of the error

Give directory permissions

chown -R root.root /var/empty/sshd
chmod 744 /var/empty/sshd
service sshd restart

Read More: