Windows 10/11 – Enabling OpenSSH Server for Use with RPI SSH Pro
In this guide, I will show you how to enable the OpenSSH Server on Windows 10 or Windows 11 so you can connect using the RPI SSH Pro application.
If you receive Connection refused or Connection timed out errors in the app, there is a high chance that the SSH service is not enabled.
Installing OpenSSH Server
- Open: Settings → Apps → Optional features
- Click: Add a feature
- Search for: OpenSSH Server
- Click Install
After installation, it is recommended to restart your computer.
Starting the SSH Service
Press: Win + R
Type:
services.msc
Find:
OpenSSH SSH Server (sshd)
Set:
- Startup type: Automatic
- Click: Start
From now on, the SSH service will start automatically with Windows.
Checking the Firewall
Open PowerShell as Administrator and run:
Get-NetFirewallRule -Name *ssh*
If port 22 is not allowed, run:
New-NetFirewallRule -Name sshd -DisplayName "OpenSSH Server (sshd)" -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
.
Alternative Method – Installing and Enabling OpenSSH via PowerShell (Advanced)
If you prefer using PowerShell or the graphical installation method does not work, you can install and configure OpenSSH Server manually.
Open PowerShell as Administrator and run:
dism /Online /Add-Capability /CapabilityName:OpenSSH.Server~~~~0.0.1.0
After installation, start the SSH service:
Start-Service sshd
Set the service to start automatically with Windows:
Set-Service -Name sshd -StartupType Automatic
To verify that the service is running:
Get-Service sshd
If the Status shows Running, the SSH server is active.
Testing SSH Connectivity
From another machine on the same network, try:
Example:
ssh albert@192.168.1.50
If it prompts for a password → SSH is working correctly.
Configuration in RPI SSH Pro
Host: Windows machine IP address
Port: 22
Username: Your Windows username
Authentication: Password
Common Errors
Connection refused
→ The sshd service is not running.
Connection timed out
→ Firewall or network blocking the connection.
Permission denied
→ Incorrect username or password.
Need Help?
Please include:
- Windows version
- Exact error message
- Local or internet connection
- Port used