[Bug 3573] New: sshd service crashes with "error 1067: Service terminated unexpectedly" when I try to start it in Windows 11

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue May 16 10:58:17 AEST 2023


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.


More information about the openssh-bugs mailing list