Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open regedit.
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU.
  3. Change the value of the UseWUServer attribute to 0.
  4. In a command window run the following:
Code Block
languagebash
net stop wuauserv && net start wuauserv

...

  1. To make sure that the OpenSSH features are available for install, run the following in powershell:

    Code Block
    languagepowershell
    Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'

    This should return the following:

    Code Block
    languagepowershell
    Name  : OpenSSH.Client~~~~0.0.1.0
    State : NotPresent
    
    Name  : OpenSSH.Server~~~~0.0.1.0
    State : NotPresent


  2. Then, simply install the client and/or server features as follows:

    Code Block
    languagepowershell
    # Install the OpenSSH Client
    Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
    
    # Install the OpenSSH Server
    Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

    Both should return the following output:

    Code Block
    languagepowershell
    Path          :
    Online        : True
    RestartNeeded : False


  3. You should now be able to type ssh, sftp, scp or any other openSSH commands into your command window.