diff options
author | Sven Gothel <[email protected]> | 2019-09-12 15:40:59 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-09-12 15:40:59 +0200 |
commit | 831794a8b50b6506a633d1b9e438f166bd0f935e (patch) | |
tree | e86c758523555ac7448a01b23d06e54e0c1a4993 /jenkins-server-slave-setup | |
parent | 6f2281165da079fe718ed340cb4c6102a45d0ddb (diff) |
Update to latest Cygwin 64bit 3.0.7
Diffstat (limited to 'jenkins-server-slave-setup')
5 files changed, 20 insertions, 15 deletions
diff --git a/jenkins-server-slave-setup/cygwin-sshd/Cygwin-sshd.bat b/jenkins-server-slave-setup/cygwin-sshd/Cygwin-sshd.bat index b6ddb51..8773f96 100755 --- a/jenkins-server-slave-setup/cygwin-sshd/Cygwin-sshd.bat +++ b/jenkins-server-slave-setup/cygwin-sshd/Cygwin-sshd.bat @@ -1,5 +1,6 @@ @echo off
c:
-chdir c:\cygwin\bin
-bash --login -c /usr/sbin/sshd
-bash --login -c /usr/sbin/sshd
+chdir c:\cygwin64\bin
+REM bash --login -c "/usr/sbin/sshd ; /home/jogamp/jenkins/start-ssh-jenkins.sh"
+bash --login -c "/usr/sbin/sshd"
+
diff --git a/jenkins-server-slave-setup/cygwin-sshd/FAQ.txt b/jenkins-server-slave-setup/cygwin-sshd/FAQ.txt index c1df7f9..faeeab3 100644 --- a/jenkins-server-slave-setup/cygwin-sshd/FAQ.txt +++ b/jenkins-server-slave-setup/cygwin-sshd/FAQ.txt @@ -13,4 +13,3 @@ Enable Built-in Administrator Account / start dos-shell with right click: 'Run a +++++ - 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 bc85add..c09bd49 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 @@ -8,8 +8,8 @@ where [2] was really helpfull. The following is based on [2] and we should be able to config it easily. -Install Cygwin / OpenSSH - ssh daemon/service -============================================== +Install Cygwin / OpenSSH - ssh daemon or service +================================================ In the following writing we will use single quotes to quote names, ie 'sshd', or 'jogamp'. @@ -60,13 +60,17 @@ please: - LOGIN TO WINDOWS AS USER 'jogamp' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -4) Install latest cygwin >= 1.7.5-1 as user 'jogamp' - - http://www.cygwin.com/ +4) Install latest 64bit cygwin >= 3.0.7 as user 'jogamp' + - Download from https://cygwin.com/setup-x86_64.exe + - Validate the signature https://cygwin.com/setup-x86_64.exe.sig + using pubkey https://cygwin.com/key/pubring.asc + - Run setup-x86_64.exe - Answer: For All users - - Default location C:\cygwin + - Default location C:\cygwin64 - Add: - git - - openssh + - openssh, rsync + - p7zip, xz, unzip, zip - vim - .. - maybe: EVERYTHING but sources ! diff --git a/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_service.txt b/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_service.txt index 8487cb7..5e73706 100644 --- a/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_service.txt +++ b/jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_service.txt @@ -7,7 +7,7 @@ Please read cygwin_sshd_win7_init.txt first! configure the ssh deamon, sshd: - Start cygwin shell as Administrator: - start cmd.exe - - runas /user:Administrator c:\cygwin\Cygwin.bat + - runas /user:Administrator c:\cygwin64\Cygwin.bat - 7.1) to configure account 'cyg_server' run the following commands you might want to put it in a shell script, e.g. setup-cyg_server.sh 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 4c64343..24972b9 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 @@ -7,7 +7,7 @@ Please read cygwin_sshd_win7_init.txt first! configure the ssh deamon, sshd: - Start cygwin shell as Administrator: - start cmd.exe - - runas /user:Administrator c:\cygwin\Cygwin.bat + - runas /user:Administrator c:\cygwin64\Cygwin.bat - 7.1) to configure account 'jogamp' run the following commands you might want to put it in a shell script, e.g. setup-jogamp.sh @@ -24,12 +24,13 @@ configure the ssh deamon, sshd: - Answer the followup questions as follows: - Any 'overwrite file': yes (happens if you retry configuration) - - Should privilige seperation be used: no + - Should StrictModes be used? no - Do you want to install sshd as a service: no + - Obsolete: Should privilige seperation be used: no chown jogamp /etc/ssh* - vi /etc/sshd_config - change: + Obsolete: vi /etc/sshd_config - change: - UsePrivilegeSeparation sandbox + UsePrivilegeSeparation no @@ -43,7 +44,7 @@ configure the ssh deamon, sshd: @echo off C: - chdir C:\cygwin\bin + chdir C:\cygwin64\bin bash --login -c /usr/sbin/sshd ++++++++++ |