安装过程:
1. 安装jdk,下载Cygwin 地址:https://cygwin.com/install.html
2. 安装过程参考 http://www.cnblogs.com/kinglau/archive/2013/08/20/3270160.html
3. 安装sshd过程
ssh-host-config # 引导SSH服务配置
*** Query: Enter the value of CYGWIN for the daemon: [ntsec] ntsec #输入ntsec
*** Query: Do you want to use a different name? (yes/no) no #输入no
*** Query: Create new privileged user account ‘cyg_server‘? (yes/no) no #输入yes
其余一路yes
4.配置ssh无密码登录 http://blog.csdn.net/joe_007/article/details/8298814
5.sshd中文乱码问题 http://www.cnblogs.com/xlmeng1988/archive/2013/01/14/cygwin_cn.html
6. net start sshd启动服务, net stop sshd关闭服务,exit退出
时间: 2024-10-18 08:06:21