Commit 148283e1 authored by Reimar Stier's avatar Reimar Stier

Add git ssh notes

parent ea9eda2f
...@@ -24,6 +24,9 @@ choco feature enable -n allowGlobalConfirmation ...@@ -24,6 +24,9 @@ choco feature enable -n allowGlobalConfirmation
choco install firefox git choco install firefox git
``` ```
* Get Daimler certificate authority (CA) from stash.detss.corpintra.net (export certificate chain in pem format) * Get Daimler certificate authority (CA) from stash.detss.corpintra.net (export certificate chain in pem format)
```
files\ca-certificates-plus-stash.crt
```
* Configure git to use the Daimler CA * Configure git to use the Daimler CA
``` ```
git config --global http.sslCAInfo C:\documents\stash.pem git config --global http.sslCAInfo C:\documents\stash.pem
......
# Git Bash and stash in Windows
https://confluence.detss.corpintra.net/display/SYSTEMS/GIT+Server+Authentication
## Clone with SSH
* Environment variable `GIT_SSH` temporary
````
export GIT_SSH=/c/ProgramData/chocolatey/bin/plink.exe
````
* Configure environment variable permanently
````
C:\ProgramData\chocolatey\bin\plink.exe
````
* Start putty once and call known address to add host key
* Server: `stash.detss.corpintra.net`
* Port: 7999
## Clone with HTTP
* Copy trusted certificates
````
cp files\ca-certificates-plus-stash.crt C:\documents\certificates\ca-certificates-plus-stash.pem
````
* Use custom trusted certificates chain
```
git config --global http.sslCAInfo C:\documents\certificates\ca-certificates-plus-stash.pem
git config http.proxy http://127.0.0.1:3128
git config https.proxy http://127.0.0.1:3128
```
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
<package id="atom" /> <package id="atom" />
<package id="7zip" /> <package id="7zip" />
<package id="git" packageParameters="'/GitAndUnixToolsOnPath /NoAutoCrlf'"/> <package id="git" packageParameters="'/GitAndUnixToolsOnPath /NoAutoCrlf'"/>
<package id="putty" />
<package id="airtame" /> <package id="airtame" />
<package id="sdcard-formatter" /> <package id="sdcard-formatter" />
<package id="PartitionMasterFree" /> <package id="PartitionMasterFree" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment