Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used to have a working Git installation on Windows, but for some reason, it's not working anymore, and I don't know what to do to fix it.

If I were to follow GitHub's setup tutorial, it says that all I'd need to do to verify things are copasetic is to type

ssh -T

and when I do that, things are dandy:

> ssh -T
Hi klauern! You've successfully authenticated, but GitHub does not provide shell access.

So I feel confident that I can clone one of my projects locally (such as a fork of a project I have):

> git clone
Cloning into 'ruby'...
FATAL ERROR: Network error: Connection timed out
fatal: The remote end hung up unexpectedly

I can get through to this using an https:// protocol behind an HTTP proxy, but I should be able to go through the ssh protocol, too, right?


I'll add that I am using the windows install of Git from, I have PuTTy and PAgeant installed and working, as well as a ~/.ssh folder with all the keys in it. As I'd mentioned above, this used to work, but now it doesn't, and the only test I know is ssh -T.

share|improve this question
Excellent. That worked for me. If you'd like to post it as an answer, I'd gladly mark it as accepted. – Nick Klauer Mar 26 '12 at 13:43
Good to know. I have added an answer pointing to the plink issue. – VonC Mar 26 '12 at 14:02
up vote 1 down vote accepted

The question "How to make git to work with pagent(putty) on Windows?" mentions an issue with plink, related to issue 251.

This seams to be a bug in putty/plink: plink will just you the IP specified in Default Settings (putty) and ignore your command line hostname if you specify one.

The question "Can't Push Commits to Central Repository" also reminds us to check your origin declaration (git remote show origin)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .