Would you like to learn how to install the SSH server on Windows? In this tutorial, we are going to show you how to install the OpenSSH server on a computer running Windows.

• Windows 10
• Windows 2019
• Openssh

Equipment list

Here you can find the list of equipment used to create this tutorial.

This link will also show the software list used to create this tutorial.

Windows – Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Windows.

Tutorial Windows – Installing the SSH server

As an administrator, open the Start menu and access the Settings option.

Windows 10 - Start menu Settings

Access the Apps settings.

Windows 10 - App settings

Access the optional features screen.

Windows 10 - Optional features

Select the option to Add a feature.

Windows 10 - Add optional feature

Select the SSH server package and click on the Install button.

Windows - Installing SSH server

Wait for the Openssh server installation to finish.

Windows - Install openssh server

As Administrator, start an elevated command-line.

Windows - Elevated command prompt

Configure the SSH service to start automatically.

Copy to Clipboard

Start the SSH service.

Copy to Clipboard

Create a Firewall rule to allow the input of packets on the SSH port.

Copy to Clipboard

Congratulations! You have finished the installation of the SSH server on Windows.

Tutorial Powershell – Installing the SSH server

As an Administrator, start an elevated version of the Powershell command-line.

Windows 10 - powershell elevated

Verify if the SSH server is already installed.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Optionally, filter the output of the Powershell command to a simpler version.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Install the OpenSSH server using Powershell.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Configure the SSH service to start automatically.

Copy to Clipboard

Start the SSH service.

Copy to Clipboard

Create a Firewall rule to allow the input of packets on the SSH port.

Copy to Clipboard

Congratulations! You have finished the OpenSSH server installation on Windows using Powershell.

Tutorial Windows – Accessing a remote device using SSH

As an Administrator, start an elevated version of the Powershell command-line.

Windows 10 - powershell elevated

Install the OpenSSH client using Powershell.

Copy to Clipboard

Access the command-line.

Windows - Command-line prompt

Access a remote device using the SSH command.

Copy to Clipboard

In our example, we are accessing 172.31.0.84 as Administrator.

Copy to Clipboard

After a successful login, you will have access to the command-line.

Copy to Clipboard

Congratulations! You are able to access SSH devices using the Windows command-line.