- OS修改環境變數:path增加d:/cygwin/bin
- OS增加環境變數:CYGWIN=ntsec tty
- Cygwin安裝必要的套件:OpenSSH,cygrunsrv
- Cygwin設定OpenSSH:
- 執行 ssh-host-config
- Should privilege separation be used? (yes/no) :yes
- Should this script create a local user 'sshd' on this machine? (yes/no) :yes
- Do you want to install sshd as service? (yes/no) :yes
- Default is "ntsec" . CYGWIN=ntsec tty
- 手動啟動OpenSSH服務:net start sshd
- 手動關閉OpenSSH服務:net stop sshd
[收藏] 在Cygwin上安裝ssh伺服器!
最新推荐文章于 2020-03-28 00:01:09 发布