通过PowerShell开源社区的Win32-OpenSSH来管理你的Windows服务器
来源:互联网 发布:手机淘宝怎么刷新 编辑:程序博客网 时间:2024/06/05 13:33
通过PowerShell开源社区的Win32-OpenSSH来管理你的Windows服务器
官方安装步骤:https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH
本人提供的简单试用步骤:
到这里下载最新安装包:https://github.com/PowerShell/Win32-OpenSSH/releases
比如我用的:https://github.com/PowerShell/Win32-OpenSSH/releases/download/v0.0.7.0/OpenSSH-Win64.zip
下载下来解压到C盘,然后用管理员打开服务器自带的PowerShell,运行下列命令:
cd C:\OpenSSH-Win64\OpenSSH-Win64
Set-ExecutionPolicy unrestricted
.\install-sshd.ps1
.\ssh-keygen.exe -A
如下图:
然后打开Services,启动ssh-agent和sshd:
你可以用Putty连上你的Windows服务器,如图:(你也可以自己建个目录"md c:\puttytestfolder",然后上服务器看下有没有建出来)
0 0
- 通过PowerShell开源社区的Win32-OpenSSH来管理你的Windows服务器
- 利用Powershell来管理服务器
- 利用Powershell来管理服务器
- openssh的密钥管理
- 通过Windows(Phone) Runtime Component来分享你的代码
- 用gpedit.msc来管理windows的服务器的策略
- 使用cygwin/openSSH搭建windows下的SSH服务器
- 用IOT的思维来管理我们的查看我们重要业务的服务器健康状态-Powershell模块配置篇!
- 通过 Powershell 来调整 ARM 模式下虚拟机的尺寸
- 通过 Powershell 来调整 ARM 模式下虚拟机的尺寸
- 通过 OpenSSH 隧道的 CVS
- 我能用Windows PowerShell做什么:列出你所有的 Windows PowerShell 别名
- 易學易用的 Windows PowerShell
- 功能强大的Windows PowerShell
- 两款在windows上运行的SSH服务器-OpenSSH for Windows和Copssh
- 用IOT的思维来管理我们的查看我们重要业务的服务器健康状态-Powershell脚本编写-发送脚本解析!
- PowerShell调用COM来让Windows为你读小说
- phpLDAPadmin 安装配置讲解,通过 Web 端来管理您的 LDAP 服务器
- 欢迎使用CSDN-markdown编辑器
- phpstorm配置Xdebug进行调试PHP教程-新
- 超级厉害的JavaScript —— ECMAScript 6 标准(14) —— Module
- Linux和Mac查询端口占用
- Centos7更改默认启动桌面(或命令行)模式
- 通过PowerShell开源社区的Win32-OpenSSH来管理你的Windows服务器
- Win10系统任务栏时间不显示月份解决方法
- java mybatis blob乱码
- phpExcel 实现excel表格和mysql数据库的导入导出
- Mysql优化
- Dojo1.11官方教程文档翻译(5.4)Checkboxes
- ViewFlipper实现垂直轮播广告效果
- 数据结构之红黑树
- 【PAT】1006. Sign In and Sign Out