via ChatGTP:
...means the OpenSSH SSH Server service doesn't have the required privileges (permissions) assigned to its logon account, most likely NT SERVICE\SSHD.
🛠Here's how to fix it:
Step 1: Open Local Security Policy
Press Win + R, type secpol.msc, and press Enter.
Navigate to:
Local Policies > User Rights Assignment
Step 2: Grant "Log on as a service" to
In the right pane, find "Log on as a service".
Double-click it.
Click Add User or Group.
Type:
NT SERVICE\SSHD
Click OK, then Apply.
If "Add User or Group" is grayed out, it might be controlled by a domain group policy. In that case, you'd need to adjust it from your domain controller's Group Policy Management Console.