[m-rev.] diff: document up to set up ssh on cygwin

Julien Fischer juliensf at cs.mu.OZ.AU
Fri Feb 3 18:22:59 AEDT 2006


local/newhost:
	Fix my earlier XXX and document how to set up sshd on Cygwin.

Julien.

Index: newhost
===================================================================
RCS file: /home/mercury1/repository/local/newhost,v
retrieving revision 1.19
diff -u -r1.19 newhost
--- newhost	3 Feb 2006 06:49:24 -0000	1.19
+++ newhost	3 Feb 2006 07:20:35 -0000
@@ -169,9 +169,38 @@
 	  that it is annoying.)

 - set up ssh [Cygwin only]
-	- install ssh as a Windows service. (XXX how to do this).
-	- as administrator update Cygwin's password and group files via the
-	  commands:
+	- the following steps need be carried on with administrator
+	  permissions.
+	- install the Cygwin openssh package
+	- open Control panel
+		- select System Properties
+		- select Advanced
+		- click on the button "Environment Variables"
+		- click the "New" button and add the following
+		  variable/value:
+
+		  	CYGWIN = ntsec
+
+		- select the Path variable and click the "Edit" button
+		- append ";c:\cygwin\bin" to the end of the existing
+		  variable string.
+	- open a Cygwin session
+		- run the program "ssh-host-config"
+			- answer "yes" to privilege separation
+			- answer "yes" to create local user sshd
+			- answer "yes" to install sshd as a service
+			- answer "ntsec" when asked "CYGWIN="
+		- from the command prompt run either:
+			net start sshd
+		or
+			cygrunsrv --start sshd
+
+		- to stop the sshd service run either:
+			net stop sshd
+		or
+			cygrunsrv --stop sshd
+
+	-  update Cygwin's password and group files via the commands:

 			mkpasswd -l > /etc/passwd
 			mkgroup -l > /etc/group

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list