Repository navigation
Running sshd from cmd.exe running as system doesn't work #2059
Closed
Luboš Doležel (LubosD)
started this conversation in
General
Replies: 2 comments
|
I'll answer myself: the problem seems to be the |
0 replies
|
Sounds like you figured it out - https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps also details running sshd as SYSTEM via psexec |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm trying to debug some configuration issues with regards to integrating sshd into a larger remote control package. For that I tried to run sshd.exe directly from cmd.exe running as
nt authority\system(spawned viapsexec) assuming it should operate just fine. It doesn't.I tried both sshd.exe bundled with Win10 and a recent release from this repository - both behave the same way.
Logging in to sshd executed this way fails:
The SSH client sees a connection reset:
However, when the very same executable is run as a service as Local System, it works just fine.
What's the difference? What can I do to make sshd work when run from the command line directly?
All reactions