· Tutorial ·

Connecting to a server via SSH under Windows

Windows PowerShell OpenSSH

The OpenSSH client is a separately installable component of Windows Server 2019 and Windows 10 1809 or higher. Users with these versions of Windows should follow the instructions below to install and configure OpenSSH.

Windows Operating System with graphical environment:

To install OpenSSH, launch Settings and go to Applications > Applications and Features > Manage Optional Features.

Examine this list to see if the OpenSSH client is already installed. If not, at the top of the page, select "Add a feature" and look for "OpenSSH Client" and then click "Install".

enter image description here

Windows Operating System without graphical environment:

To install OpenSSH with PowerShell, start PowerShell as administrator. To make sure that the OpenSSH features are available for installation, follow the steps below:

First, let's look for the OpenSSH package:

Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'  

enter image description here

Once we have found the package, we are going to install it:

Add-WindowsCapability -Online -Name OpenSSH.Client~~~~

enter image description here

Once installed, let's open a new PowerShell window to make the SSH connection:

ssh -p 2200 user@IP_Del_Cloud

enter image description here


In other versions of Windows you can use Putty, it is an alternative to connect to a server via SSH. You can download the application for free at https://www.putty.org/.

Steps to connect to the server: Steps to connect to the server:

To make the connection we only need to configure 3 parameters:

  • Address: our_ip
  • Port: 2200
  • Protocol: SSH

Click on "Open" and a Terminal window will open.

enter image description here

Login to: our_user
our_user@our_ip's password: (while typing it will not be displayed)

Once you have typed the password press "enter" and you will be inside the server, it's that easy.

enter image description here

To close the connection, just type "exit".