I'm following the instructions on setting up git on Windows from here:

http://help.github.com/win-set-up-git/

When I try to do:

git push master origin

I get an error from PuTTY saying:

Network error: connection refused

Why is PuTTY getting involved here? I didn't even setup PuTTY for this.

I know I used PuTTY in the past but forget what I did; how can I disable it?

link|improve this question

48% accept rate
You might have a typo there, it's git push origin master, with origin being the name of the remote repo. – Jin Oct 14 '11 at 1:40
feedback

1 Answer

Git on Windows uses PuTTY Link to establish an SSH connection required for pushing the repo. If you no longer want to use PuTTY, you should alter GIT_SSH to point to a different SSH authorization agent (openSSH, perhaps).

link|improve this answer
ok so built-in mysysgit won't have that? i have to download another app? – user27449 Oct 14 '11 at 11:38
mine has \tortoisesvn\sbin\tortoiseplink.exe, what should I change this too then? hoping mysysgit has something built in. – user27449 Oct 14 '11 at 11:41
it should be openssh, I'll update that later. Any reason you want to move away from Puttylink? @user27449 – Sathya Oct 14 '11 at 12:02
no reason, just wanted an easier setup i.e built in. I used putty before like 1+ years ago and don't remember what I did to set it up, now i'm using my on vps server for git. – user27449 Oct 15 '11 at 1:08
how did my git_ssh get set to my SVN's TortoisePlink.exe? Where is the build in one then? – user27449 Oct 15 '11 at 1:39
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.