3

I just uninstalled OpenSSH server and client on my Window 10 (version 1803). However, there is none of them in the optional feature list. When I first installed OpenSSH, they were still there. Is there a way to fix this or to get SSH without using optional features?

3
  • 2
    What version of Windows 10 are you using? Edit your question, and provide the relevant information from winver, this information is necessary to answer your question.
    – Ramhound
    Commented Apr 12, 2019 at 15:38
  • 3
    Possible duplicate of Windows 10 v1803: where is OpenSSH Client?
    – Ramhound
    Commented Apr 12, 2019 at 15:39
  • Thank you. I couldn't find that duplicate question. Besides, I updated my Windows and they were in optional features again.
    – Hung Do
    Commented Apr 12, 2019 at 16:48

1 Answer 1

2

Please see if the features can be installed using DISM /Add-Capability. Open PowerShell or CMD as administrator and run the following commands

 DISM.exe /Online /Add-Capability /CapabilityName:OpenSSH.Client~~~~0.0.1.0
 DISM.exe /Online /Add-Capability /CapabilityName:OpenSSH.Server~~~~0.0.1.0
3
  • Where can I find list of capabilities available for my OS? I'm curious what else is there.
    – Kamil
    Commented Jan 26, 2023 at 17:37
  • @Kamil Dism.exe /online /Get-Capabilities
    – soulflyman
    Commented Aug 2, 2023 at 13:11
  • 1
    What would cause /Get-Capabilities to not show openssh.server? Server 2016, v1607. Commented Sep 18, 2023 at 17:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .