Multiple bitbucket accounts
bitbucket, git, ssh
Solution
You may get this error if you haven't added the key to the key manager (ssh-agent). To do this:
ssh-add ~/.ssh/tech
By the way, if you have multiple Bitbucket accounts, you'll need a unique key for each account. You can't reuse keys.
Problem
I have a Bitbucket account for my 9-5 job and I also have a personal Bitbucket account. My goal is to be able to use both on the same computer. I have installed the latest git on a Windows 7 pc. So currently everything with my companies Bitbucket account works fine, I can pull/push with no problems. I created a new ssh key using ssh-keygen and assigned a new name in my case "tech". But I am having issues on how to tell a local repo to use the new ssh key I created. I am assuming everytime I try to connect it uses the first ssh key. I get the error: $ git push conq: repository access denied. fatal: The remote end hung up unexpectedly I found some advice on the internet but it seems to relate to a linux/git setup, for example I can't find the "config" file on windows.