OpenSSH for Windows 2003 Server
What to do if the service doesn't start
The service is very particular about file ownership and permissions, especially where the public/private keys are stored. So double check you haven't skipped any of the steps. There may be some information in the Event Log which may provide assistance.
Alternatively, you can start sshd
from a command prompt as
follows:
- Allow the sshd user to run a command prompt
ntrights -r SeDenyInteractiveLogonRight -u sshd
- Start a command prompt as the sshd user
runas /user:sshd C:\Windows\System32\cmd.exe
- Start the OpenSSH daemon from the above command prompt
- C:\Program Files\OpenSSH\sbin\sshd -d
You may need to play about with the flags a bit as I did this from memory as I don't have a test server to check it on at present!