Skip to content

Inquiry Regarding Automatic Log Folder Permission Handling in OpenSSH v9.4 and Later #2345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
OH-KM opened this issue Apr 10, 2025 · 1 comment
Open
3 tasks done

Comments

@OH-KM
Copy link

OH-KM commented Apr 10, 2025

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

We are currently using OpenSSH version 9.4.0.0p1 and later on Windows Server 2019/2022 systems.

Recently, we encountered issues related to log folder permissions (C:\ProgramData\ssh\logs) following Windows security updates. We have come across unofficial information stating that, starting from OpenSSH v9.4, permissions for the log folder are applied automatically to prevent service crashes.

Could you please confirm whether this is accurate? Additionally, is this behavior officially documented in any release notes or Microsoft documentation?

Thank you in advance for your support.

Best regards,

Expected behavior

OpenSSH service should be able to start without manual permission adjustments on recent versions.

Actual behavior

Behavior seems stable in 9.4, but the lack of official documentation makes validation difficult.

Error details

-

Environment data

- OpenSSH version: 9.4.0.0p1
- OS: Windows Server 2019 / 2022
- Install method: Built-in or manually installed from GitHub releases

Version

9.4.0.0p1

Visuals

No response

@tgauth
Copy link
Collaborator

tgauth commented Apr 10, 2025

Win32-OpenSSH 9.4 does not automatically update the folder permissions.

The March Windows Update to Server 2019 and Server 2022 to Win32-OpenSSH version 9.5.3.1 modifies the check so the startup failure does not occur, see the release notes: https://support.microsoft.com/en-us/topic/march-11-2025-kb5053603-os-build-20348-3328-1f927b68-5c90-45d7-abd3-3c973873b8f8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants