2007年6月17日 星期日

Cygwin安裝OpenSSH

Cygwin安裝:
Admin:cygrunsrv
Net:openssh

進入Cygwin shell:

ssh-host-config
Should privilege separation be used? (yes/no) yes

Warning: The following function requires administrator privileges!
Should this script create a local user 'sshd' on this machine? (yes/no) yes

Do you want to install sshd as service?
(Say "no" if it's already installed as service) (yes/no) yes

Which value should the environment variable CYGWIN have when
sshd starts? It's recommended to set at least "ntsec" to be
able to change user context without password.
Default is "ntsec". CYGWIN= 按下Enter接受預設

讓sshd服務不隨開機而啟動:
執行-> services.msc -> 找到 CYGWIN sshd -> 設定為手動啟動

手動開啟:
cygrunsrv -S sshd

參考網址:
cha.homeip.net/blog/archives/2006/04/_winxp_cygwin_s.html

沒有留言: