Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

openSSH is a popular tool for performing operations using SSH, SCP and SFTP.  As of version 1809 of Windows 10 it actually comes bundled.  Since the current version of the desktops at TC use version 1709, openSSH requires an installation as it is an optional feature.

Install Steps

Note that there are some pre-install steps that must be taken to avoid an error during the installation.

Pre-Install

  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:

net stop wuauserv && net start wuauserv

Install

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

    Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'

    This should return the following:

    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:

    # 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:

    Path          :
    Online        : True
    RestartNeeded : False


  • No labels