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.
沒有留言:
張貼留言