1)安装Cygwin (http://www.cygwin.com/)
2)安装openssh
3)启动Cygwin Bash Shell
$ ssh-host-config
*** Info: Generating /etc/ssh_host_key
*** Info: Generating /etc/ssh_host_rsa_key
*** Info: Generating /etc/ssh_host_dsa_key
*** Info: Creating default /etc/ssh_config file
*** Info: Creating default /etc/sshd_config file
*** Info: Privilege separation is set to yes by default since OpenSSH 3.3.
*** Info: However, this requires a non-privileged account called 'sshd'.
*** Info: For more info on privilege separation read /usr/share/doc/openssh/READ
ME.privsep.
*** Query: Should privilege separation be used? (yes/no)
*** Query: Should privilege separation be used? (yes/no) yes
*** Info: Note that creating a new user requires that the current account have
*** Info: Administrator privileges. Should this script attempt to create a
*** Query: new local account 'sshd'? (yes/no) yes
*** Info: Updating /etc/sshd_config file
*** Info: Added ssh to C:/WINDOWS/system32/driversc/services
*** Warning: The following functions require administrator privileges!
*** Query: Do you want to install sshd as a service?
yes
*** Query: Enter the value of CYGWIN for the daemon: [] ntsec tty
*** Info: The sshd service has been installed under the LocalSystem
*** Info: account (also known as SYSTEM). To start the service now, call
*** Info: `net start sshd' or `cygrunsrv -S sshd'. Otherwise, it
*** Info: will start automatically after the next reboot.
*** Info: Host configuration finished. Have fun!
$ net start sshd
CYGWIN sshd 服务正在启动 .
CYGWIN sshd 服务已经启动成功。
分享到:
相关推荐
windows系统下安装ssh服务的工具之一:openshh。可以使windows主机变成一个可用dos命令远程操作的工具。
Windows下的SSH安装之Cygwin
“openssh for windows”这个项目是一个用cygwin包装了最小的openssh服务端和客户端的工具,基本的ssh、scp、sftp、ssh-agent、ssh-keyscan 命令都具备,安装程序会自动注册Path目录和注册表,现在就能直接在命令行...
Windows下的SSH的安装与配置
本文为大家详细讲解了在windows系统下安装openssh并通过生成SSH密钥登录Linux服务器
本工具一键运行安装ssh服务到windows系统中,实现通过ssh客户端软件远程管理windows服务器,同时内置类linux命令工具,如果你习惯用linux命令,那么你可以用管理linux的方式来管理windows系统,简单易用。...
博文链接:https://zsp.iteye.com/blog/246859
Windows下搭建基于ssh的git服务器
SshClient windows下的ssh客户端 非常好用 SshClient windows下的ssh客户端 非常好用
windows安装openssh-server安装包
该软件基于OpenSSH修改。 安装该软件后可以使用SSH方式访问Windows服务器,用户名密码不变。...该软件在Windows Server 2012 R2 Standard版本下测试通过。 如果安装过程中提示没有权限,请以管理员身份运行。
Windows下Openssh的安装.pdf
从Windows Server 2016-2019,Windows 10或Windows 7上的``设置''UI安装OpenSSH。 安装用于升级的openssh:(powershell 5.0)的先决条件遵循Powershell升级链接。 单击开始,单击所有程序,单击附件,单击...
SshClient windows下的ssh客户端
OpenSSH 是 SSH (Secure SHell) 协议的免费开源实现。SSH协议族可以用来进行远程控制, 或在计算机之间传送文件。而实现此功能的传统方式,如telnet(终端仿真协议)、 rcp ftp、 rlogin、rsh都是极为不安全的,并且...
openssh for windows 安装包 安装完openssh,会在openssh目录生成linux文件目录格式,默认会传文件在这目录里。。。 scp /var root@192.168.40.131:/share/test/1.txt
PyRexecd 用于Windows的独立SSH服务器
完整的7.7版的openssh服务,支持Windows环境安装使用。