summaryrefslogtreecommitdiffstats
path: root/jenkins-server-slave-setup/cygwin-sshd
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-11-15 20:44:48 +0100
committerSven Gothel <[email protected]>2012-11-15 20:44:48 +0100
commita1b84616a4a641b863a243b48b12348ff2372156 (patch)
tree4dee510719dcb0a91fe5acfbb84601d380f44a76 /jenkins-server-slave-setup/cygwin-sshd
parentbb3bb1247fb1fab05a85302dd9e5d57b769fcdbf (diff)
Update: Windows Cygwin sshd setup.
Diffstat (limited to 'jenkins-server-slave-setup/cygwin-sshd')
-rw-r--r--jenkins-server-slave-setup/cygwin-sshd/FAQ.txt2
-rw-r--r--jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_init.txt23
-rw-r--r--jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_usr_process.txt4
3 files changed, 20 insertions, 9 deletions
diff --git a/jenkins-server-slave-setup/cygwin-sshd/FAQ.txt b/jenkins-server-slave-setup/cygwin-sshd/FAQ.txt
index 188c986..c1df7f9 100644
--- a/jenkins-server-slave-setup/cygwin-sshd/FAQ.txt
+++ b/jenkins-server-slave-setup/cygwin-sshd/FAQ.txt
@@ -8,7 +8,7 @@ mkgroup --local > /etc/group
http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-windows-vista/
-Enable Built-in Administrator Account / start dos-shell 'run-as-admin':
+Enable Built-in Administrator Account / start dos-shell with right click: 'Run as administrator':
net user administrator /active:yes
+++++
diff --git a/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_init.txt b/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_init.txt
index 252f5a2..bc85add 100644
--- a/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_init.txt
+++ b/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_init.txt
@@ -30,17 +30,24 @@ i.e. don't enter the quotes.
- MemberOf
- Add: 'Administrators'
- - Repeat this for account: 'cyg_server' ! (only for win7 service)
- - Same options
+ - The following is only required if running sshd as a service:
- - Repeat this for account: 'sshd' ! (only for win7 service)
- - Same options, _BUT_ don't add MemberOf 'Administrators'
+ - Repeat this for account: 'cyg_server' ! (only for win7 service)
+ - Same options
+
+ - Repeat this for account: 'sshd' ! (only for win7 service)
+ - Same options, _BUT_ don't add MemberOf 'Administrators'
2) Enable account: Administrator (or use powershell)
-- cmd.exe: 'lusrmgr'
- - enable Administrator
- - set password for Administrator
+ Windows Professional License:
+ - cmd.exe: 'lusrmgr'
+ - enable Administrator
+ - set password for Administrator
+
+ Windows Home License:
+ - start dos-shell with right click: 'Run as administrator':
+ - net user administrator /active:yes
3) We need all these passwords, incl. Administrator !!
Please put them in a text file (user:password), ie c:\admin.txt
@@ -53,7 +60,7 @@ please:
- LOGIN TO WINDOWS AS USER 'jogamp'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-4) Install latest cygwin 1.7.5-1 as user 'jogamp'
+4) Install latest cygwin >= 1.7.5-1 as user 'jogamp'
- http://www.cygwin.com/
- Answer: For All users
- Default location C:\cygwin
diff --git a/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_usr_process.txt b/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_usr_process.txt
index 766f782..4c64343 100644
--- a/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_usr_process.txt
+++ b/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_usr_process.txt
@@ -29,6 +29,10 @@ configure the ssh deamon, sshd:
chown jogamp /etc/ssh*
+ vi /etc/sshd_config - change:
+ - UsePrivilegeSeparation sandbox
+ + UsePrivilegeSeparation no
+
8) Autostart user 'jogamp' and user space sshd
8.1) Autostart sshd for user 'jogamp'