Besides RDP, OpenSSH Server adds lightweight SSH/SFTP administration on your Windows VPS — handy for scripts, deploys and file transfer.
📋 Prerequisites
- Windows Server VPS with admin rights; allow port 22 if needed — see open a firewall port.
Install the capability
Administrator PowerShell:
PowerShellGet-WindowsCapability -Online | Where-Object Name -like 'OpenSSH.Server*' Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Start and enable the service
PowerShellStart-Service sshd Set-Service -Name sshd -StartupType Automatic Get-Service sshd
Windows Firewall
A rule is often created automatically. Otherwise:
PowerShellNew-NetFirewallRule -Name "OpenSSH-Server-In-TCP" -DisplayName "OpenSSH Server (TCP 22)" -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
Test from your PC
Replace VPS_IP and your Windows username:
Bashssh USER@VPS_IP
SFTP: sftp USER@VPS_IP
Our Windows VPS are available in the same 8 locations: Windows VPS France, Windows VPS Germany, Windows VPS Netherlands, Windows VPS United Kingdom, Windows VPS USA, Windows VPS Canada, Windows VPS Turkey and Windows VPS Hong Kong. Desktop editions are offered too: Windows 10 RDP and Windows 11 RDP.
Security
- Prefer SSH keys over passwords.
- Limit allowed accounts; avoid Administrator when possible.
- Pair with initial setup and regular updates.
Happy administering! 🚀