Want to try OpenSSH Client? You must run at least Windows 10 Version 1809 to install OpenSSH.
PS C:\Users\Administrator> Get-WindowsCapability -Online | ? Name -like 'OpenSSH*' Name : OpenSSH.Client~~~~0.0.1.0 State : Installed Name : OpenSSH.Server~~~~0.0.1.0 State : NotPresent PS C:\Users\Administrator>
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
OpenSSH Client is installed on Microsoft Windows Server 2019.
C:\Users\Administrator>ssh -V OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
List folder C:\Windows\system32\OpenSSH
Install OpenSSH Server
PS C:\WINDOWS\system32> Get-WindowsCapability -Online -Name *SSH* Name : OpenSSH.Client~~~~0.0.1.0 State : Installed DisplayName : OpenSSH Client Description : OpenSSH-based secure shell (SSH) client, for secure key management and access to remote machines. DownloadSize : 1316207 InstallSize : 5300763 Name : OpenSSH.Server~~~~0.0.1.0 State : NotPresent DisplayName : OpenSSH Server Description : OpenSSH-based secure shell (SSH) server, for secure key management and access from remote machines. DownloadSize : 1291185 InstallSize : 4947581 PS C:\WINDOWS\system32> Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 Path : Online : True RestartNeeded : False PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> get-service -Name *ssh* Status Name DisplayName ------ ---- ----------- Stopped ssh-agent OpenSSH Authentication Agent Stopped sshd OpenSSH SSH Server PS C:\WINDOWS\system32> Get-Service -Name *ssh* Status Name DisplayName ------ ---- ----------- Stopped ssh-agent OpenSSH Authentication Agent Stopped sshd OpenSSH SSH Server PS C:\WINDOWS\system32> Start-Service sshd PS C:\WINDOWS\system32> Get-Service -Name *ssh* Status Name DisplayName ------ ---- ----------- Stopped ssh-agent OpenSSH Authentication Agent Running sshd OpenSSH SSH Server PS C:\WINDOWS\system32> Set-Service -Name sshd -StartupType Automatic PS C:\WINDOWS\system32> Get-Service -Name sshd | Select-Object -Property Name, StartType, Status Name StartType Status ---- --------- ------ sshd Automatic Running PS C:\WINDOWS\system32>