bugzilla-daemon at mindrot.org
2023-May-16 00:58 UTC
[Bug 3573] New: sshd service crashes with "error 1067: Service terminated unexpectedly" when I try to start it in Windows 11
https://bugzilla.mindrot.org/show_bug.cgi?id=3573
Bug ID: 3573
Summary: sshd service crashes with "error 1067: Service
terminated unexpectedly" when I try to start it in
Windows 11
Product: Portable OpenSSH
Version: 8.6p1
Hardware: Other
OS: Windows 11
Status: NEW
Severity: minor
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
Reporter: sirleeofstanford at gmail.com
I cannot seem to start the openssh server service in Windows 11 (sshd).
I've tried to start the service from PowerShell and through Windows 11
Services App. When I try to start the service in the Services App, it
tries to start the service but crashes and gives me error 1067: service
terminated unexpectedly.
When I try to start the service from the command line in PowerShell, I
get this message (I'll just cut and paste it):
PS C:\Users\sirle> start-service sshd
start-service : Failed to start service 'OpenSSH SSH Server (sshd)'.
At line:1 char:1
+ start-service sshd
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError:
(System.ServiceProcess.ServiceController:ServiceController)
[Start-Service],
ServiceCommandException
+ FullyQualifiedErrorId :
StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand
My machine's specs are as follows:
Processor: AMD Ryzen 5 with Radeon Graphics 3.90Ghz
Installed RAM: 8GB
OS: Windows 11 Pro version 22H2
OS build: 22621.1702
Experience: Windows Feature Experience Pack 1000.22641.1000.0
Manufacturer: HP
I bought this PC brand new, so this is the stock OS. Since it's still
under warranty, I tried to contact HP Support, but they told me that
because it's a Windows Service that is crashing, I need to talk to
Microsoft. So I contacted Microsoft Support, and they very rudely told
me that sshd is not a part of the Operating System, so it's a problem
with the software and I need to contact OpenSSH for support. It's not
a huge emergency because I was able to get RDP to work, so I can remote
using RDP but I just can't get SSHD to start. I would just like to
have that as an option too because I like the security that SSH
provides. Also, I should mention that before I contacted HP Support, I
did try to uninstall and reinstall the OpenSSH Server, but that had no
effect. I'm still getting the same error.
Also, before I posted this, I did try to search for my problem in the
bug reports that exist already, but I couldn't find one that matched my
exact circumstances. I apologize in advance if I post this in the wrong
section. Please forgive me, I'm just trying to fix this issue on my
PC. Thank you for your time.
Respectfully,
Lee Stanford
sirleeofstanford at gmail.com
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2023-May-16 01:21 UTC
[Bug 3573] sshd service crashes with "error 1067: Service terminated unexpectedly" when I try to start it in Windows 11
https://bugzilla.mindrot.org/show_bug.cgi?id=3573
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to Lee Stanford from comment #0)> So I contacted Microsoft Support, and they very
> rudely told me that sshd is not a part of the Operating System, so
> it's a problem with the software and I need to contact OpenSSH for
> support.
Sorry but if Microsoft sent you here then they sent you to the wrong
place. Microsoft ships a heavily-modified fork of OpenSSH *as part of
Windows*
(https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_overview,
"OpenSSH has been added to Windows (as of autumn 2018), and is included
in Windows Server and Windows client.")
Since it's heavily modified we can't help you with it. The fork is at
https://github.com/PowerShell/Win32-OpenSSH (issues) and
https://github.com/PowerShell/openssh-portable (code).
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2023-Jun-21 05:19 UTC
[Bug 3573] sshd service crashes with "error 1067: Service terminated unexpectedly" when I try to start it in Windows 11
https://bugzilla.mindrot.org/show_bug.cgi?id=3573
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
Status|NEW |RESOLVED
Resolution|--- |INVALID
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
Reasonably Related Threads
- undefined method <name> for Service:Module
- jinfo, jboss and ExtendedDTraceProbes
- Web Service (server) and file_column issues
- [Bug 1067] New: Compilation failure on Linux 4.5.x when including libiptc/libiptc.h
- [Bug 1067] ssh-keyscan does not work with F-Secure SSH 3.2.0 sometimes