view page source - page history - about editing

Revision History: Getting Git to work over SSH in Windows

This is revision 673 of the page Getting Git to work over SSH in Windows, as it appeared on Wed, 21 Jan 2015 15:07:01 -0800.
Git

Good luck! You need to do something like this:
  1. Install Cygwin to install bash and openssh
  2. You will now have a home directory ~ which will be something like C:/cygwin/home/Jevon
  3. Create new ~/.ssh/id_rsa.pub public keys with ssh-keygen -t rsa by following this article
  4. Import these SSH public keys into your GitHub account SSH keys
  5. Make sure that your GIT_SSH environment variable is set to c:/cygwin/bin/ssh or something similar; if you installed TortoiseGit, this may be messed up to point to a Putty console
  6. Add the ssh-agent script to your ~/.bashrc
  7. Now, you can just run bash in any command prompt, which will ask you for your SSH keyphrase, and you can git push to your hearts content.
Categories: Git

view page source - what links to here? - page history - top
Last edited by jevon jevon 49 months ago