顯示具有 Cygwin 標籤的文章。 顯示所有文章
顯示具有 Cygwin 標籤的文章。 顯示所有文章

2008年4月29日 星期二

Uninstall Cygwin

Reference:Cygwin FAQ - http://cygwin.com/faq/faq-nochunks.html

1. Uninstall Cygwin service
  • List all service:cygrunsrv -L
  • Stop the service:cygrunsrv --stop service_name
  • Remove the service:cygrunsrv --remove service_name
2. Back Your Home Directory (Optional)

3. Delete the Cygwin root folder and all subfolders (Which takes lots of time =.=)

4. Delete the Cygwin shortcuts on the Desktop and Start Menu, and anything left by setup.exe in the download directory

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