Windows user is limited to start/stop windows service only when logged in from SSH client.

Copper Contributor



I have configured non-admin user in Windows 2019 Server to be able to start/stop windows service. The user successfully does this by logging directly but unable to do so through Open SSH client.


Installed - OpenSSH.Server~~~~


net stop/start service gives this error in SSH client:



System error 5 has occurred.

Access is denied.


As I said this happens only if the user logs on through SSH client. Any idea why this happens and is there anything to be done in OpenSSH configuration to fix this issue?



0 Replies