Replies: 2 comments
-
I'll answer myself: the problem seems to be the |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions