pastebin - collaborative debugging tool
rovema.kpaste.net RSS


Install Windows OpenSSH server (sshd)
Posted by Anonymous on Tue 14th Feb 2023 18:11
raw | new post
modification of post by Anonymous (view diff)

  1. PS C:\Windows\system32> Set-ItemProperty -Path HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name UseWUServer -Value 0
  2. PS C:\Windows\system32> Restart-Service -Name wuauserv -Force
  3. PS C:\Windows\system32> Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
  4.  
  5.  
  6. Path          :
  7. Online        : True
  8. RestartNeeded : False
  9.  
  10.  
  11.  
  12. PS C:\Windows\system32> Set-ItemProperty -Path HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU -Name UseWUServer -Value 1
  13. PS C:\Windows\system32> Restart-Service -Name wuauserv -Force
  14. PS C:\Windows\system32> Start-Service sshd

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at