OS修改環境變數:path增加d:\cygwin\binOS增加環境變數:CYGWIN=ntsec ttyCygwin安裝必要的套件:OpenSSH,cygrunsrvCygwin設定OpenSSH:
執行 ssh-host-configShould privilege separation be used? (yes/no) :yesShould this script create a local user 'sshd' on this machine? (yes/no) :yesDo you want to install sshd as service? (yes/no) :yesDefault is "ntsec" . CYGWIN=ntsec tty
手動啟動OpenSSH服務:net start sshd手動關閉OpenSSH服務:net stop sshd