Skip to content

Commit

Permalink
Update to latest Cygwin 64bit 3.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sgothel committed Sep 12, 2019
1 parent 6f22811 commit 831794a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 15 deletions.
7 changes: 4 additions & 3 deletions 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"

1 change: 0 additions & 1 deletion jenkins-server-slave-setup/cygwin-sshd/FAQ.txt
Expand Up @@ -13,4 +13,3 @@ Enable Built-in Administrator Account / start dos-shell with right click: 'Run a

+++++


16 changes: 10 additions & 6 deletions jenkins-server-slave-setup/cygwin-sshd/cygwin_sshd_win7_init.txt
Expand Up @@ -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'.
Expand Down Expand Up @@ -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 !
Expand Down
Expand Up @@ -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
Expand Down
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
++++++++++
Expand Down

0 comments on commit 831794a

Please sign in to comment.