Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install OpenSSH on Windows through the built-in Optional Features interface or with elevated PowerShell. Choose OpenSSH Client to connect to other SSH hosts; install OpenSSH Server only if this PC needs to accept SSH connections. Microsoft’s in-box Feature on Demand is its recommended option for most users and is serviced through Windows Update.

Check Windows support and choose the component

Microsoft documents support for Windows 10, version 1809 or later; Windows 11; and Windows Server 2019, 2022, and 2025. Its listed prerequisites include an account in the built-in Administrators group and PowerShell 5.1 or later. Check the Windows version with winver.exe and the PowerShell version with $PSVersionTable.PSVersion. See Microsoft’s OpenSSH installation guide.

  • Client: Install this to initiate SSH connections to Linux, macOS, Windows, or other SSH hosts.
  • Server: Install this to allow remote SSH sign-in to the Windows computer. It runs as the sshd service.

The in-box Windows capability is the baseline for these steps. The separately maintained PowerShell/Win32-OpenSSH project is an alternate distribution with its own releases; do not mix its instructions with the in-box installation.

Install OpenSSH with PowerShell

Open PowerShell as an administrator. First check which OpenSSH capabilities are available and their current state:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
TP-Link AC600 USB WiFi Adapter for Desktop PC - USB Wireless Adapter for PC
  • 𝐋𝐨𝐧𝐠 𝐑𝐚𝐧𝐠𝐞 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 – This compact USB Wi-Fi adapter provides long-range and lag-free connections wherever you are. Upgrade your PCs or laptops to 802.11ac standards which are three times faster than wireless N speeds.
  • 𝐒𝐦𝐨𝐨𝐭𝐡 𝐋𝐚𝐠 𝐅𝐫𝐞𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 – Get Wi-Fi speeds up to 200 Mbps on the 2.4 GHz band and up to 433 Mbps on the 5 GHz band for upgraded web surfing, gaming, and streaming. Performance varies by conditions, distance to devices, and obstacles such as walls.
  • 𝐃𝐮𝐚𝐥-𝐛𝐚𝐧𝐝 𝟐.𝟒 𝐆𝐇𝐳 𝐚𝐧𝐝 𝟓 𝐆𝐇𝐳 𝐁𝐚𝐧𝐝𝐬 – Dual-bands provide flexible connectivity, giving your devices access to the latest routers for faster speeds and extended range. Wireless Security - WEP, WPA/WPA2, WPA-PSK/WPA2-PSK
  • 𝟓𝐝𝐁𝐢 𝐇𝐢𝐠𝐡 𝐆𝐚𝐢𝐧 𝐀𝐧𝐭𝐞𝐧𝐧𝐚 – The high gain antenna of the Archer T2U Plus greatly enhances the reception and transmission of WiFi signal strengths.
  • 𝐀𝐝𝐣𝐮𝐬𝐭𝐚𝐛𝐥𝐞, 𝐌𝐮𝐥𝐭𝐢-𝐃𝐢𝐫𝐞𝐜𝐭𝐢𝐨𝐧𝐚𝐥 𝐀𝐧𝐭𝐞𝐧𝐧𝐚: Rotate the multi-directional antenna to face your router to improve your experience and performance
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'

Install only the component you need by running its command:

Install the client

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

Install the server

Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

A normal successful result reports Online : True and RestartNeeded : False. If Windows cannot find or download the capability, check that the device can reach its configured Windows feature source or Windows Update service; organizations may manage feature sources centrally. For offline or managed servicing, follow Microsoft’s installation guidance rather than substituting a third-party package.

Install OpenSSH from Windows Settings

  1. Open Start and search for Optional Features or Add an optional feature.
  2. Select Add a feature.
  3. Search for OpenSSH Client and/or OpenSSH Server, select the component you need, and choose Install.

Windows may use slightly different wording depending on its version. After installation, manage the server service in the Services app or with PowerShell.

Rank #2
Sale
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
  • AC1300 Dual Band Wi-Fi Adapter for PC, Desktop and Laptop. Archer T3U provides 2.4G/5G strong high speed connection throughout your house.
  • Archer T3U also provides MU-MIMO, which delivers Beamforming connection for lag-free Wi-Fi experience.
  • Usb 3.0 provides 10x faster speed than USB 2.0, along with mini and portable size that allows the user to carry the device everywhere.
  • World's 1 provider of consumer Wi-Fi for 7 consecutive years - according to IDC Q2 2018 report
  • Supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14

Start the SSH server and enable it after restart

These steps apply only if you installed OpenSSH Server. In elevated PowerShell, start the service now:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Start-Service sshd

To have the service start automatically after Windows restarts, set its startup type:

Set-Service -Name sshd -StartupType 'Automatic'

Automatic startup is optional; without it, the server will not necessarily be available after a reboot until it is started again.

Rank #3
Sale
TP-Link Nano AC600 USB WiFi Adapter for Desktop PC- 2.4G/5G Dual Band
  • AC600 Nano size wireless Dual band USB Wi-Fi adapter for fast and high speed Wi-Fi connection.
  • Strong 2.4G/5G connection allows the user to use the Internet with lag-free experience.
  • Sleek and miniature sized design allows the user to plug and leave the device in it's place.
  • Industry leading support: 2-year and free 24/7 technical support
  • This network transceiver supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14

Check the Windows Firewall rule for port 22

Installing OpenSSH Server normally creates the inbound Windows Firewall rule named OpenSSH-Server-In-TCP, which allows TCP traffic on port 22. Check whether the rule exists and is enabled:

Get-NetFirewallRule -Name "OpenSSH-Server-In-TCP"

If the rule is missing, Microsoft documents creating an inbound rule for TCP local port 22 with elevated PowerShell:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
New-NetFirewallRule -Name "OpenSSH-Server-In-TCP" -DisplayName "OpenSSH Server (sshd)" -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22

Opening port 22 in Windows Firewall does not by itself make a computer reachable from the internet. Network firewalls, routers, VPNs, and cloud security policies can also affect access. Avoid exposing SSH broadly to the public internet; restrict access to trusted networks or specific source addresses where possible.

Rank #4
Nineplus Wireless USB WiFi Adapter for PC - 1300Mbps Dual 5Dbi Antennas 5G/2.4G WiFi Adapter for Desktop PC Laptop Windows11/10/7, Wireless Adapters for Desktop Computer Network Adapters
  • Fast 1300Mbps USB WiFi Adapter - Nineplus wifi adapter provides long-range and stable wifi connections,Upgrade your desktop or laptop wifi Technology with our AC1300Mbps usb wireless Adapter. Whether your desktop pc's wifi usb is malfunctioning or you’re looking to upgrade to faster dual-band 5GHz and 2.4GHz speeds, this pc wifi adapter is the ideal choice. It’s a budget-friendly way to extend your device’s life and experience the benefits of modern WiFi technology
  • Dual-band 5.8GHz and 2.4GHz Bands - 5.8Ghz wifi Connection speed up to 867Mbps,2.4GHz 400Mbps,With these upgraded speeds, web surfing, gaming, and streaming online meeting is much more enjoyable without buffering or interruptions,Experience the High Wi-Fi speed of our AC1300Mbps wifi dongle delivers faster internet speeds and stronger, more reliable signal penetration over long distances. It's a high-speed dual-band wifi usb adapter for pc and easy for the modern user.
  • Two 5dBi High Gain Wifi Antenna – The high gain antenna of the desktop wifi adapter greatly enhances the reception and transmission of WiFi signal strengths.Equipped with dual high-gain pc wifi antenna, our wifi dongle for desktop pc ensures accurate capture of WiFi signals, providing a stable and strong connection even at greater distances, ideal for overcoming poor signal issues in bedrooms. This computer wifi adapter, wifi card, and usb wifi antenna extend your coverage.
  • Super Speed USB 3.0 - wifi adapter for desktop pc Connect speeds Up to 10x faster than USB 2.0 USB, Super USB3.0 delivers faster data transfer, a more reliable network connection, and improved compatibility for wifi adapter for pc. It fully supports the high-speed demands of AC1300 wireless adapter, ensuring peak performance. Plus, it's backward compatible with standard USB 2.0 ports for added flexibility.usb wifi adapter for desktop pc 3.0
  • Compatibility Systems: This Wi-Fi usb adapter is compatible with Windows11/10/8.1/8/7/XP,not supports Mac OS or Chromebook or Linux. Most Windows 11/10 systems will automatically detect and install the drivers. If the system does not detect the driver, you will need to download it from our website. For Windows 7, you will need to manually install the driver for this wifi card.or you go to the website online-setup support,we do online-setup for you.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Connect to the Windows computer

From another device with an SSH client, connect using the Windows account name and the server’s hostname or IP address:

ssh user@hostname-or-ip

Replace user with the Windows account permitted to sign in, and replace hostname-or-ip with the server’s reachable name or address. On first connection, SSH may show a host-key fingerprint and ask whether to trust it. Confirm the host identity through a trusted channel; type yes only when it matches the computer you intended to reach. Accepting it stores the host key in the client’s known-hosts file.

Microsoft describes OpenSSH as “a connectivity tool for remote sign-in that uses the SSH protocol.” SSH encrypts traffic between client and server, but encryption does not replace sound account permissions, host verification, patching, and network controls. See Microsoft’s OpenSSH overview.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
UGREEN WiFi Adapter for Desktop PC, AX900 USB WiFi 6 Adapter
  • Wifi 6 High-speed Transmission: The WiFi adapter supports the new generation of WiFi6 technology with transmission speeds of up to 600 Mbps on 5 GHz + 287 Mbps on 2.4 GHz, enabling lightning-fast transmission of video at ultra-high speed and low latency
  • Dual-band Connection: The AX900 USB WiFi adapter under the AX standard, the 5G band rate can reach 600Mbps, and the 2.4G band can reach 286Mbps. Note: Use WiFi 6 Router to achieve AX900 speed
  • Built-in Drivers for Windows 10/11: The WiFi Adapter for Desktop PC just supports Windows 10/11 which CPU architecture is X86/X64, supports CD-free installation, no need to download drivers, saving time and worry. Please note this Adapter doesn't support MacOS/Linux/Win 8, 8.1, 7, XP
  • Receive & Transmit Two in One: A desktop computer can connect to the WiFi wireless Internet by connecting it to a wireless network card. A networked computer can connect to the network card to transmit WiFi and share it with other devices
  • Stay Safe Online: The wifi dongle supports WPA-PSK, WPA2-PSK, WPA/WPA2 mixed encryption modes. Note: Make sure that the distance between the adapter and router should be within 30ft

Troubleshoot a connection that fails

Use these checks in order to distinguish a service problem from a network or account problem:

  • Confirm the server is installed and running: In PowerShell on the Windows host, run Get-Service sshd. If it is stopped, start it with Start-Service sshd.
  • Check the firewall rule: Run Get-NetFirewallRule -Name "OpenSSH-Server-In-TCP". A missing, disabled, or restrictive rule can block inbound traffic.
  • Check network reachability: Verify that the client is using the correct hostname or IP address and that the network path permits TCP port 22. A router, VPN, or upstream firewall may block the connection even when the Windows rule is present.
  • Check the login account: Use the correct Windows username and confirm the account is permitted to sign in through OpenSSH. A reachable server can still reject an unauthorized or incorrectly named account.
  • Interpret refusal or reset as a service or port clue: Microsoft notes that connections can be refused or reset if the OpenSSH firewall rule is not enabled or port 22 is not open. Check both Windows Firewall and any network controls between the machines.

Harden access after installation

For production use, prefer key-based authentication and limit which users or groups can log in. Keep Windows patched, protect private keys, and configure network access narrowly. Microsoft’s OpenSSH key management guidance covers host keys and ssh-agent setup.

Quick Recap

SaleBestseller No. 2
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
TP-Link AC1300 USB WiFi Adapter for Desktop PC 2.4/5G Dual Band WiFi Dongle
Supports Windows 11, 10, 8.1, 8, 7, XP/ Mac OS X 10.9-10.14
$15.96
SaleBestseller No. 3
TP-Link Nano AC600 USB WiFi Adapter for Desktop PC- 2.4G/5G Dual Band
TP-Link Nano AC600 USB WiFi Adapter for Desktop PC- 2.4G/5G Dual Band
Strong 2.4G/5G connection allows the user to use the Internet with lag-free experience.; Industry leading support: 2-year and free 24/7 technical support
$10.22

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.