CYGWIN - Starting sshd: Privilege separation user does not exist

The other day, I could start the CYGWIN sshd service on my Windows Server 2008 R. It said:

"The cygwin sshd service started and then stopped"

I then looked at the logs at C:\cygwin64\var\log\sshd.log:

"Privilege separation user sshd does not exist"

I did the following and was able to start cygwin sshd:

1. Edit the file /etc/passwd and add the below line:

sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin

2. and the below line in the /etc/group file:

sshd:x:74:

3. Then I can start CYGWIN sshd service again.

Comments