Created attachment 3195 [details] patch to fix the hardcoded sshd service name On windows 10 (1803), there is already a sshd service present, therefore during the cygwin sshd setup, using ssh-host-config, it requires using the -N option to use a different service name. For example: ssh-host-config -N cygwin_sshd However that fails because during the function: check_service_files_ownership it still tries to use the old sshd service name which is hardcoded. The following patch fixes the problem for me (I was using OpenSSH_7.8p1, but the problem is still there today 2018-10-22 on the master branch)
Corinna, could you please take a look at this?
Created attachment 3201 [details] follow up fix Patch is fine, but on inspection I found a few comments suffering the same problem. Also fixed a typo. Patch attached.
Applied both to head, thanks. Both changes will be in the next major release. I also cherry picked the servicename fix into the V_7_9 branch so if there a is p2 release it'll be in it (we typically don't do those unless something critical comes up).
closing resolved bugs as of 8.6p1 release
[spam removed]