My /var/log/sshd.log had this at the end:
Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. /var/empty must be owned by root and not group or world-writable. /var/empty must be owned by root and not group or world-writable. /var/empty must be owned by root and not group or world-writable. /var/empty must be owned by root and not group or world-writable.
Looking at / var, I saw this:
$ ls /var -All total 0 drwxrwxr-x+ 1 xxxx None 0 Dec 8 15:59 cache drwxrwxr-x+ 1 cyg_server root 0 Dec 8 16:21 empty drwxrwxr-x+ 1 xxxx None 0 Dec 8 15:58 lib drwxrwxrwx+ 1 xxxx None 0 Dec 8 16:27 log drwxrwxrwx+ 1 xxxx None 0 Dec 8 15:48 run drwxrwxrwt+ 1 xxxx None 0 Dec 8 15:48 tmp
So I just made chmod 600 /var/empty and fixed it!
source share