हिन्दी (Hindi)

Install OpenSSH Server on a Windows VPS

1 min
VPS/VDS होस्टिंग

Besides RDP, OpenSSH Server adds lightweight SSH/SFTP administration on your Windows VPS — handy for scripts, deploys and file transfer.

📋 Prerequisites

Install the capability

Administrator PowerShell:

PowerShell
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH.Server*' Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

Start and enable the service

PowerShell
Start-Service sshd Set-Service -Name sshd -StartupType Automatic Get-Service sshd

Windows Firewall

A rule is often created automatically. Otherwise:

PowerShell
New-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:

Bash
ssh utilisateur@IP_DU_VPS

SFTP : sftp utilisateur@IP_DU_VPS

Security

  • Prefer SSH keys over passwords.
  • Limit allowed accounts; avoid Administrator when possible.
  • Pair with initial setup and regular updates.

Happy administering! 🚀

नवीनतम ऑफ़र, छूट और विशेष प्रोमोशन से अपडेट रहें।

प्रोमोशन देखें

हम cookies का उपयोग करते हैं

हम अपनी साइट पर आपके अनुभव को बेहतर बनाने के लिए एनालिटिक्स cookies का उपयोग करते हैं। कोई भी डेटा तीसरे पक्ष को नहीं बेचा जाता है। हमारे बारे में और जानें गोपनीयता नीति.