Soooo, after trying and trying I have finally came to a solution :)
My firewall from Comodo Internet Security suite was blocking ssh clients
somehow. Although I have no idea why and how because I can successfully
connect to other machine via SSH.
Now I will have to find a new firewall to be fully able to use git
Thank you guys for help :)
W dniu piątek, 13 lipca 2012 15:59:32 UTC+2 użytkownik Thomas Ferris
> On Friday, July 13, 2012 1:48:06 PM UTC+2, Patryk Małek wrote:
>> So to reproduce what I have done besides reinstalling a bunch of times:
>> - I have uninstalled Git and all its GUI frontends from the system that I
>> have installed (git extensions, github for windows etc ect)
>> - I have deleted *GIT_SSH * environmental variable
>> - uninstalled whole putty package
>> - cleared git config files and keys etc
>> - used ccleaner to clean registry and disk from unnecessary files ,
>> registry keys
>> - restarted Windows 7 (64 bit)
>> THEN, I have downloaded newest version of git from website
>> using settings to integrate git with command line.
>> and while trying to do anything involving access through SSH i have
>> obtained once again 'Cannot spawn ssh' error message.
>> I have no idea whatsoever what can be done more in this matter. I have
>> even used processmonitor application to take a look what/how git is trying
>> to launch ssh client but I have not found it there
> OK, so you have a clean slate and you want to do the OpenSSH approach in a
> normal Windows command line (cmd.exe).
> During the Git installer, I assume you chose "Run Git and included Unix
> tools from the Windows Command Prompt". This is the third and last option
> with the scary red warning below. *Did you choose this option? *If you
> did not choose this option, you have to use Git Bash instead of normal
> command-line below.
> To make things a bit less complex, let's make sure SSH works. Try the
> - Start Command line (Start -> Run -> 'cmd')
> - ssh -T username@your-git-server
> What does the command above output?
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at