安裝過程:html
1. 安裝jdk,下載Cygwin 地址:https://cygwin.com/install.htmlssh
2. 安裝過程參考 http://www.cnblogs.com/kinglau/archive/2013/08/20/3270160.htmlspa
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.net
其他一路yesserver
4.配置ssh無密碼登陸 http://blog.csdn.net/joe_007/article/details/8298814htm
5.sshd中文亂碼問題 http://www.cnblogs.com/xlmeng1988/archive/2013/01/14/cygwin_cn.htmlblog
6. net start sshd啓動服務, net stop sshd關閉服務,exit退出it