Instructions on installing OpenSSH on your Windows Server.
▼ Windows 2016 and below ▼
Download OpenSSH
Go to
github.com«, scroll to the [
Assets] section.
Choose [
OpenSSH-Win32.zip] and download it.
Once downloaded, unzip the file.
Hold down [
Shift] + [
Ctrl] and [
Left-click] in the folder.
Choose [
Open PowerShell window here].
Paste this into PS and click [
Enter].
Start Service:
▼ Windows 2019 and Above ▼
Method 1: Using [
PowerShell]
Open PowerShell as Administrator.
Verify OpenSSH availability:
Install the Server component:
Note: Should return Online: True.
Start the service and set it to Automatic:
Verify firewall rule (created automatically):
Method 2: Using Settings GUI
Open [
Settings] > [
System] > [
Optional Features].
Click [
View features] (or [
Add a feature]).
Select [
OpenSSH Server] (and [
Client] if desired), then click [
Install].
Once installed, open Services (services.msc), find [
OpenSSH SSH Server,] and set the [
startup type] to [
Automatic ]and [
Start] it.