How to Fix OPENSSH failed installation in Windows 10

  1.  Execute gpedit.msc (Windows start menu)
  2. Navigate to Computer Configuration\Administrative Templates\System
  3. Open Specify settings for optional component installation and component repair
  4. Select Enabled
  5. Also check the box for Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)
  6. Click APPLY and OK
  7. Close gpedit window.
  8. Execute powershell (Windows start menu):
    1. # Install the OpenSSH Client
    2. Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
    3. # Install the OpenSSH Server
    4. Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
  9. Verify install:
    1. Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'

Comentarios

Entradas populares