Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 635 Bytes

install-open-ssh-on-windows.md

File metadata and controls

29 lines (19 loc) · 635 Bytes

Install OpenSSH On Windows

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'