How to Disable SSH Server in Windows 10

Windows 10 has many new and flashy features. However, you would possibly not want all of all of them of the time. This guide aims to help you with disabling the SSH server within Windows 10.

To uninstall OpenSSH using Windows Settings:

  1. Open Settings, then attend Apps > Apps & Features.
  2. Go to Optional Features.
  3. In the list, select OpenSSH Client or OpenSSH Server.
  4. Select Uninstall.

Uninstall OpenSSH using PowerShell

  1. To uninstall the OpenSSH components using PowerShell, use the subsequent commands:
  2. PowerShell
  3. Uninstall the OpenSSH Client
  4. Remove-Windows Capability -Online -Name OpenSSH.Client~~~~
  5. Uninstall the OpenSSH Server
  6. Remove-Windows Capability -Online -Name OpenSSH.Server~~~~
  7. You may got to restart Windows afterwards if the service was in use at the time it had been uninstalled.
How to Disable SSH Server in Windows 10

Leave a Reply

Scroll to top