前言
这个功能网上有很多文章写过,但是高点击的文章明显过时了。作者在按照热门文章进行操作的时候,出现了很多坑,额外花了一点时间去填坑,这里分享一下目前正确的做法。
1.下载OpenSSH
下载地址:
https://github.com/PowerShell/Win32-OpenSSH/releases
裸连github需要运气,如果连不上请使用魔法,或者百度“github文件加速”并使用以下链接直接下载:
32位系统:
https://github.com/PowerShell/Win32-OpenSSH/releases/download/V8.6.0.0p1-Beta/OpenSSH-Win32.zip
64位系统:
https://github.com/PowerShell/Win32-OpenSSH/releases/download/V8.6.0.0p1-Beta/OpenSSH-Win64.zip
2.解压缩
找一个位置解压压缩包。注意,解压文件夹的文件路径不能带有空格。错误示范:![](https://i-blog.csdnimg.cn/blog_migrate/cce4a7165e97ca7c57aa5ee1030fca1b.png)