How to Install OpenSSH on Windows Server

Опубликовано: 27 Апрель 2026
на канале: techs2support
1,110
like

This video will show how to Install OpenSSH on Windows Server

Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'

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

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

Start the sshd service
Start-Service sshd

OPTIONAL but recommended:
Set-Service -Name sshd -StartupType 'Automatic'

Confirm the Firewall rule is configured. It should be created automatically by setup. Run the following to verify
if (!(Get-NetFirewallRule -Name "OpenSSH-Server-In-TCP" -ErrorAction SilentlyContinue | Select-Object Name, Enabled)) {
Write-Output "Firewall Rule 'OpenSSH-Server-In-TCP' does not exist, creating it..."
New-NetFirewallRule -Name 'OpenSSH-Server-In-TCP' -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
} else {
Write-Output "Firewall rule 'OpenSSH-Server-In-TCP' has been created and exists."
}

https://docs.microsoft.com/en-us/wind...

How to disassemble dell Precision M4800
   • How to disassemble dell Precision M4800  

How to disassemble dell Precision M6800
   • How to disassemble dell Precision M6800  

How to disassemble dell Latitude E7440
   • How to disassemble dell Latitude E7440  

How to clone SD card
   • How to clone SD card  

How to disassemble dell Precision M6700
   • How to disassemble dell Precision M6700  

How to disassemble dell Inspiron 15 5559
   • How to disassemble dell Inspiron 15 5559  

How to disassemble dell Latitude E7240
   • How to disassemble dell Latitude E7240  

How to join an ubuntu desktop into an active directory domain full video
   • How to join an ubuntu desktop into an acti...  

How to disassemble dell Latitude E6230
   • How to disassemble dell Latitude E6230  

How to disassemble dell Precision M4600
   • How to disassemble dell Precision M4600  

More Details=====================
   / techs2support  
https://techs2support.com/
  / techs2support  
  / techs2support  
  / techs2support