[Bug 2922] New: missing service_name in check_service_files_ownership function of ssh-host-config for cygwin

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Oct 23 11:29:38 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2922

            Bug ID: 2922
           Summary: missing service_name in check_service_files_ownership
                    function of ssh-host-config for cygwin
           Product: Portable OpenSSH
           Version: 7.7p1
          Hardware: amd64
                OS: Cygwin on NT/2k/W7/W8/W10
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Miscellaneous
          Assignee: unassigned-bugs at mindrot.org
          Reporter: Christian.Lupien at USherbrooke.ca

Created attachment 3195
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3195&action=edit
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)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list