...
- Open regedit.
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU.
- Change the value of the UseWUServer attribute to 0.
- In a command window run the following:
Code Block | ||
---|---|---|
| ||
net stop wuauserv && net start wuauserv |
...
To make sure that the OpenSSH features are available for install, run the following in powershell:
Code Block language powershell Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
This should return the following:
Code Block language powershell Name : OpenSSH.Client~~~~0.0.1.0 State : NotPresent Name : OpenSSH.Server~~~~0.0.1.0 State : NotPresent
Then, simply install the client and/or server features as follows:
Code Block language powershell # 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 language powershell Path : Online : True RestartNeeded : False
- You should now be able to type ssh, sftp, scp or any other openSSH commands into your command window.