Ubuntu, directly from the Microsoft Store.
Install your preferred Linux distribution, such as
If you already have WSL1 installed, it’s recommended to update to WSL2. Install WSL by following the instructions within Microsoft’s This may be preferred if you are more comfortable working within a Linux shell environment. Instead of using the Command Prompt or PowerShell environment (which is significantly different than both the macOS and Linux command-line environments), you can run Linux directly within Windows through WSL (Windows Subsystem for Linux).
Windows Subsystem for Linux (WSL) - Windows 10 or 11 PowerShell 7 or later, the newer cross-platform PowerShell application, can also be used if installed. Open Windows Search through the Windows + S hotkey, type “Command Prompt” or “PowerShell” into the search area, and select the corresponding application from the results. To run the SSH command, you first need to open your preferred command line utility. Select OpenSSH Client and press the Install button to install the ssh on Windows. If the OpenSSH Client feature is not installed, click the Add a feature button at the top of the page. Under the Installed features list, look for the OpenSSH Client feature.
The Optional features page of the Settings application launches. Start typing “Manage optional features” and select Manage optional features (System settings) from the search results. Open up Windows Search by selecting the search area (or search button) on the taskbar or by pressing Windows + S on the keyboard. OpenSSH is a Windows SSH client and available on newer versions of Windows 10 (April 2018 update and later), though it may need to be manually enabled. To connect to a server using SSH on Windows 10 within one of these tools, the OpenSSH client needs to be installed. There are two terminals on Windows 10 and 11, the Command Prompt (also called CMD) and PowerShell.
This article walks you through how to use SSH from Windows, covering the basics of installing a Windows SSH command-line tool and connecting to a remote server (such as a Linode) over SSH on a local Windows system. When most people refer to SSH, it is within the context of a connecting from a local computer to a remote server, commonly for administration tasks related to website hosting. A secure shell (SSH) is used for secure communication between devices.