[X] Make sure you are able to repro it on the latest version
[X] Search the existing issues.
Steps to reproduce
Download msi version of the OpenSSH for Windows
Install OpenSSH for Windows
Start OpenSSH SSH Server service.
Shutdown or Restart Windows
Expected behavior
No error or warning events should be logged to the Event Log for SSHD services.
Actual behavior
You can see ID 7031 Error Event on System Event Log like as following.
Log Name: System
Source: Service Control Manager
Date: 10/31/2023 8:50:51 PM
Event ID: 7031
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: ws2022eng
Description:
The OpenSSH SSH Server service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 0 milliseconds: Restart the service.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7031</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2023-11-01T03:50:51.7542233Z" />
<EventRecordID>1250</EventRecordID>
<Correlation />
<Execution ProcessID="744" ThreadID="5784" />
<Channel>System</Channel>
<Computer>ws2022eng</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">OpenSSH SSH Server</Data>
<Data Name="param2">1</Data>
<Data Name="param3">0</Data>
<Data Name="param4">1</Data>
<Data Name="param5">Restart the service</Data>
<Binary>73007300680064000000</Binary>
</EventData>
</Event>
Prerequisites
Steps to reproduce
Expected behavior
Actual behavior
Error details
No response
Environment data
Version
9.4.0.0
Visuals
No response