Causam: Difference between revisions

From Bitpost wiki
(Created page with " ----------------------------------------- now how to get it working on windows... start with the setup in git-for-windows .ssh/config, here: C:\Users\Admin...")
 
No edit summary
Line 1: Line 1:
    -----------------------------------------
{| class="mw-collapsible mw-collapsed wikitable"
    now how to get it working on windows...
! Set up a Windows client to use Stash ssh key
    start with the setup in git-for-windows .ssh/config, here:
|-
        C:\Users\Administrator\.ssh\config
| Use git-for-windows exclusively, it doesn't need putty.
        (in fact just copy all of .ssh, it's on dropbox)
* Install Git for Windows, set it up to use its own ssh (not plink).
    reinstall git-for-windows so it uses internal ssh not plink
* Set up this folder with .ssh configuration
    try this from a fresh cmd or git bash shell:
C:\Users\##user##\.ssh\config
        cd C:\Michael's Data\development\power_analytics\gec
* Copy the .ssh folder from [https://www.dropbox.com/home/Power%20Analytics dropbox], the config looks like this:
        git clone ssh://git@git.poweranalytics.io:7999/gec/pa-pdp-xiagent-csharp.git
Host git.poweranalytics.io
    GOOD TO GO
    IdentityFile ~/.ssh/git.poweranalytics.io/id_rsa
    -----------------------------------------
* Now you should be able to pull:
cd C:\Michael's Data\development\power_analytics\gec
git clone ssh://git@git.poweranalytics.io:7999/gec/pa-pdp-xiagent-csharp.git
|}

Revision as of 14:37, 22 April 2016

Set up a Windows client to use Stash ssh key
Use git-for-windows exclusively, it doesn't need putty.
  • Install Git for Windows, set it up to use its own ssh (not plink).
  • Set up this folder with .ssh configuration
C:\Users\##user##\.ssh\config
  • Copy the .ssh folder from dropbox, the config looks like this:
Host git.poweranalytics.io
    IdentityFile ~/.ssh/git.poweranalytics.io/id_rsa
  • Now you should be able to pull:
cd C:\Michael's Data\development\power_analytics\gec
git clone ssh://git@git.poweranalytics.io:7999/gec/pa-pdp-xiagent-csharp.git