-
Notifications
You must be signed in to change notification settings - Fork 781
Run SSHD service as Network Service #681
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
Comments
But is that the way to go? I mean, shouldn't the aim be to run each service in its own account (i.e. for privilege separation)? |
That's true. Running sshd in its own account provides isolation from other services running as Network Service. On the other hand, this requires additional configuration (setting up privileges on the service account) and potentially others that Network Service typically enjoys being a built in account. We are evaluating the security benefits Vs ease of configuration. |
Besides, it would show us (at least me ;-) how to do this on Windows :-) |
This is really an installation issue right? Or does the service need to be tested under both contexts as well? |
@DarwinJS service should be able to run under any context, as long as the account has the required privileges and permissions to open up network ports. |
In the interest of security, SSHD service will continue to run in its service account context. |
Uh oh!
There was an error while loading. Please reload this page.
Please answer the following
"OpenSSH for Windows" version
0.0.12.0
OS details
All
What is failing
SSHD runs as NT Service\SSHD requiring adding configuration at startup (ex. setting up privileges for this new account)
Expected output
Run SSHD service as Network Service with "Unrestricted" sidtype. This is consistent with how rest Windows of the services are configured.
Actual output
The text was updated successfully, but these errors were encountered: