I have 2 different Github accounts, one personal and one for clients. I have my projects from personal github cloned into Eclipse, however when i am trying to import a project from my second Github account, Eclipse is asking me for the passphrase linked to my personal github account ssh key. I know this because its asking me for the passphrase linked to 'id_rsa'. I am trying to make it use the ssh key 'id_rsa_second_account' but how? Otherwise it just failed to clone because id_rsa key is on my personal account and i want eclipse to use the other key since i am importing a project from my other account! Hope this makes sense, all the help is appreciated.
I've tried adding config file in /.ssh to map the 2 different accounts to the 2 different keys but it provided no help. Eclipse still defaults to using my original key when im trying to import a project from additional github account!
Tried this: How to use multiple Git SSH keys on Eclipse? Didn't help, but no luck. Do i need to edit the URI and edit the git@github.com part perhaps?!