I have gitosis installed on a personal server and I've set it up so that my ubuntu machine I'm on now can access the repository from the command line just fine with
git clone gitosis@myservername:/myreponame.git
It asks me for my passphrase for my rsa key and then goes through and works as expected.
However, I'm trying to use EGit with eclipse (again, under Ubuntu) and I am unable to pull from the repository. I set it up to pull that exact repository, gitosis@myservername:/myreponame.git and it proceeds to find myservername and my personal public key (it gives the file path to it too, so I know its the same one) and asks for my passphrase. However, it never accepts my passphrase (note: I'm pretty sure its rejecting the passphrase and not the key itself as it rejects it immediately and does not say not authorised, as well as the fact the same key works from CLI). I get the impression the reason it doesn't work is because it's trying to unlock the public key with the passphrase as the user gitosis and that not being my username on the local machine, despite the fact that unlocking a public key file as a particular user makes no sense.
I know I'm typing the passphrase correctly because it works from CLI and I even went and changed the passphrase successfully just to make 300% sure.
Can anyone shed any light on this issue?