win10 win11安装openssh客户端的命令

使用 PowerShell 启用:

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

OpenSSH 客户端

image

image

 以上安装完成OpenSSH 客户端