windows包管理工具和 ssh安装

时间:2023-02-14 18:54:32

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 admin@192.168.0.1