2026-08-18

Windows 11 上安裝 SSH Server

Run PowerShell as an Administrator.

Check if OpenSSH is available by running:

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

If OpenSSH Server is not installed, run:

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

To start the OpenSSH Server, run the following command:

Start-Service sshd

Optionally, set it to start automatically with Windows:

Set-Service -Name sshd -StartupType 'Automatic'

Once these steps are completed, the OpenSSH Server should be running on your Windows 11 Pro computer.

Reference: https://learn.microsoft.com/en-us/answers/questions/5757124/how-to-turn-on-openssh-sever-on-windows-11-pro-com


沒有留言:

張貼留言