Category: Windows
By default, Windows ships with the OpenSSH client installed but not the server.
To show with OpenSSH components are installed, run the following PowerShell command:
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
If the OpenSSH.Server shows as "NotPresent" you will need to install it as follows:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Start the OpenSSH daemon:
Start-Service sshd
Configure the OpenSSH daemon to start automatically:
Set-Service -Name sshd -StartupType 'Automatic'