windows包管理工具和 ssh安装

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

posted @ 2017-08-01 11:36  江海不系舟  阅读(685)  评论(0编辑  收藏  举报