-
Notifications
You must be signed in to change notification settings - Fork 775
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
OpenSSH server service is not starting #2328
Comments
@roshan9951, can you try running the ssh server in debug mode and see what the output says? |
@tgauth, PFB the out for sshd.exe -ddd |
Do you mind manually verifying the permissions for the |
Prerequisites
Steps to reproduce
After installing the OpenSSH server on Windows Server 2022, I am not able to start the service and getting the above error.
We have tried the below workaround but it didn't work.
https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__support.microsoft.com_en-2Dus_topic_december-2D10-2D2024-2Dkb5048661-2Dos-2Dbuild-2D17763-2D6659-2D68e48f87-2D3b78-2D4dd3-2Db249-2D19a47a0b4d6a%26d%3DDwMGaQ%26c%3DcCoa5WWAB7EEETJScYfkXg%26r%3DC1LfSSuQU9gUdIpesvyIC-dgoOk3dq8PHtI_bu_-SY8%26m%3DBnrcTSdeL2RDI4mwYPouslpb7N5w3n8bQrXpuhaCMTmEOxKKgDcu6WHDKsO2d6Jg%26s%3DM0OfChKBGjxIb2t6qfjbThnlP14b_MRZmuHodEkWC7M%26e%3D&data=05%7C02%7CRoshan.Kumar.Singh-extern%40hcob-bank.com%7C8162aa554c9b422e0c0f08dd469e8937%7C8fe05baef97444a492c51a20a4a10daf%7C0%7C0%7C638744368925698576%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=BSvmPnshHAWJFqCnLLdl29c0ozYzZH5DM0ntH3WzJOE%3D&reserved=0
https://github.com/PowerShell/Win32-OpenSSH/wiki/Security-protection-of-various-files-in-Win32-OpenSSH
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
Expected behavior
The OpenSSH server service should start and ssh connection from remote machine should work properly.
Actual behavior
The OpenSSH service is failing when we are trying to start it.
Error details
Environment data
Version
OpenSSH_for_Windows_9.8p1 Win32-OpenSSH-GitHub, LibreSSL 3.9.2
Visuals
No response
The text was updated successfully, but these errors were encountered: