1. 记录
用管理员身份打开 powershell
安装 OpenSSH Server
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

设置 OpenSSH 服务为自动启动
Set-Service -Name sshd -StartupType 'Automatic'
开启 OpenSSH
Start-Service sshd
检查 OpenSSH 服务状态
Get-Service -Name sshd
