Chocolatey
windows下的包管理工具
https://chocolatey.org/
cmd里执行
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1‘))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
>choco search openssh
>choco install openssh
>refreshenv
ssh -p 21 [email protected]
时间: 2024-12-29 11:57:16