下载OpenSSH-Win64.zip https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v8.1.0.0p1-Beta 解压到C:\OpenSSH #安装 cd C:\OpenSSH powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1 #开通防火墙 #Windows 2012+ New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server