I have msysgit installed, with OpenSSH. I am connecting to a gitosis repo. From the git bash, I have created a .profile file that runs ssh-agent (if not already
.profile
I had the same problem as you, then I tried adding this code
#! /bin/bash eval `ssh-agent -s` ssh-add ~/.ssh/*_rsa
into file .bashrc in my home directory. And it works!
.bashrc