AfterDawn.com

Git, ssh, cygwin, plink+pageant

01 Jun 2008 18:50 (Edited: 01 Jun 2008 18:50)

If you want to use git for pushing under cygwin via help of plink then here is a short guide.

1. Download puttygen.exe and generate key.
2. Download pageant.exe and open the private key you just created.
3. Add public key to right place/send it to someone who takes care of the git.
4. Download plink.exe
5. Open cygwin and use export GIT_SSH=/cygdrive/c/software/putty/plink.exe to make Git use plink as ssh software (change location to reflect your plink.exe location).
6. Use plink to open connection to Git server so that you can save public key of the server (when used with Git plink doesn't take input from keyboard, this is why we need just one connection). For example plink git.somewhere.org and press y to store key in cache.
7. Use Git to do your dirty work. For example git clone git@git.somewhere.org:project-username.git

Tags: cygwin  git  pageant  plink  ssh  win32 

User comments

(No comments made)

Write a comment

If you do not have an AfterDawn.com accout yet, please enter a nickname and your email address below.

We will send an account activation link to the email address you provide, so please make sure to use a valid address. Content will be published on site after you have activated your account.

If you already have an AfterDawn.com account, please login using the next tab.

Login by using your AfterDawn username or your email address.

Topics

Subscribe to AfterDawn's weekly newsletter.