This article discusses an issue in which you install OpenSSH Server but then can't start the OpenSSH Server service.
Symptoms
This issue might occur in situations that resemble the following scenarios.
-
Scenario 1
- You install Windows Server 2019 by using an image that includes the January 14, 2025—KB5050008 (OS Build 17763.6775) cumulative Windows update, or a later cumulative update.
- After setup finishes, you install OpenSSH Server, which is a Feature on Demand (FOD). You don't install OpenSSH Client at this time.
-
Scenario 2
- You have a computer that runs Windows Server 2022, Windows Server 2019, Windows 11, or Windows 10.
- You install OpenSSH Server from the GitHub repository at PowerShell/openssh-portable or Win32-OpenSSH GitHub Releases. You don't install OpenSSH Client from this location.
In either scenario, when you try to start the OpenSSH Server service, the service doesn't start. You receive the following error message:
Error 1053: The server did not respond to the start or control request in a timely fashion.
Cause
This issue occurs because the versions of OpenSSH Client, OpenSSH Server, and libcrypto.dll don't match. In these scenarios, the following events cause this mismatch:
-
Scenario 1:
- When you install Windows Server (which includes OpenSSH Client and libcrypto.dll), the update installs automatically.
- During this update process, Windows Update detects OpenSSH Client and libcrypto.dll, and updates them. Because OpenSSH Server isn't installed, Windows Update doesn't install that part of the update.
- You install OpenSSH Server from Windows Update or from an offline image. The version that installs doesn't have the update, and the update isn't available on the computer to apply retroactively.
-
Scenario 2:
- You install Windows or Windows Server, both of which include OpenSSH Client and libcrypto.dll.
- Microsoft publishes a preview version of OpenSSH to the GitHub repositories at PowerShell/openssh-portable or Win32-OpenSSH GitHub Releases.
- You install OpenSSH Server from one of the GitHub repositories. This action installs the preview version.
In both scenarios, the OpenSSH Server version doesn't match the OpenSSH Client and libcrypto.dll versions. Therefore, OpenSSH Server can't start.
Resolution
Select the method that's appropriate for your environment.
Method 1: Installing OpenSSH Server as a Feature on Demand by using Windows Update or an offline Windows image
Important:
If you build or modify your own Windows images, make sure that you add any Language Packs first, then any Feature on Demand packages. Afterward, you can add applications and updates as described in Add updates to a Windows image.
After you install OpenSSH Server by using the Feature on Demand process, reinstall the most recent cumulative Windows update on that computer.
Method 2: Installing OpenSSH Server by using package files from a GitHub repository
Install both the OpenSSH Server and the OpenSSH Client packages together, even if one of the OpenSSH components is already installed.
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
