Share via

Sshd service has disappeared

Anonymous
2024-09-20T01:28:41+00:00

Hi there,

I installed the ssh server follow the guide https://learn.microsoft.com/zh-cn/windows-server/administration/openssh/openssh\_install\_firstuse?tabs=powershell,

And it seems being installed:

But when I cannot find openssh server in my service:

And it says ssd service is not found.

How can i get the ssh server in my service? Thanks.

Windows for home | Windows 11 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Ramesh Srinivasan 79,880 Reputation points Independent Advisor
    2024-09-20T04:31:28+00:00

    Hi 爷我大, This is Ramesh.

    Please run these commands from admin PowerShell:

    Remove-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
    
    Remove-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
    
    Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
    
    Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
    

    Restart Windows.

    If that doesn't restore the SSHD service, please share your CBS logs on OneDrive.

    c:\windows\logs\cbs\ <= Zip and upload all files in this folder.

    (How-To: Share OneDrive files and folders - Microsoft Support)

    https://support.microsoft.com/en-us/office/shar...

    :: OneDrive sharing options - screenshot ::

    [https://imgur.com/a/vZyxpY9](https://imgur.com/a/vZyxpY9)
    
    1 person found this answer helpful.
    0 comments No comments
  2. Ramesh 176.1K Reputation points Volunteer Moderator
    2024-09-23T04:40:54+00:00

    It works for me, mutch thanks!

    You're welcome.

    0 comments No comments
  3. Anonymous
    2024-09-23T04:39:47+00:00

    It works for me, mutch thanks!

    0 comments No comments
  4. Ramesh 176.1K Reputation points Volunteer Moderator
    2024-09-23T01:51:58+00:00

    The FOD installation encountered an error 0x800706ba - RPC_S_SERVER_UNAVAILABLE. Please see if a repair installation fixes the issue.

    1. Download Windows 11 Media Creation Tool (MCT) from this link:

    https://go.microsoft.com/fwlink/?linkid=2156295

    1. Run MCT and download the ISO it recommends for your system. Do *not* uncheck "Use the recommended options for this PC".
    2. Right-click on the downloaded ISO and choose "Mount." This assigns the ISO a drive letter.
    3. Run setup.exe from the ISO drive.

    This starts the repair installation.

    (Your files, settings and applications will be preserved if you use the ISO recommended for your system by the Media Creation Tool.)

    0 comments No comments
  5. Anonymous
    2024-09-23T01:05:54+00:00

    Hi Ramesh,

    Thanks for your quick reply. I followed your steps, but the problom is same. Here is the file: CBS.zip. Hope it will work, thank you again.

    0 comments No comments