目录
安装
cygwin
下载
下载Cygwin(http://cygwin.com/install.html),选择setup-x86_64.exe
安装步骤
安装Cygwin,采用默认的方式安装,安装组件中除默认外选择openssh、vim,安装路径为C:\cygwin64
选择安装openssh
选择安装vim
执行后续安装,并在windows环境path中追加C:\cygwin64 \bin
配置ssh服务
- 点击桌面上的Cygwin
- 输入ssh-host-config输入ssh-host-config
配置中一般为no,关键注意以下三项:配置中一般为no,关键注意以下三项:
Should privilege separation be used? (yes/no) no
Do you want to install sshd as service? (yes/no) yes
Enter the value of cygwin for the daemon:ntsec - 启动sshd服务
在cygwin命令行中执行net start ssh