I followed the directions to setup SSH for Git and everything works perfectly up to there. I can connect to my BitBucket account (returns my username etc).
I then downloaded SourceTree and went to Tools > Create or Import SSH Keys, then Conversions > Import key > Save private key. After saving I open Pageant and try to clone one of the repos. This is when the error appears. I've tried everything to solve this with no luck.
Has anyone run into this problem and found a solution?
Are you running Windows by chance? Take a look at these previous posts:
Hope this helps!
My suggestion is, install PuTTY yourself, instead of relying on the PuTTY agent that SourceTree installs. Not sure why, but it seems like the agent that SourceTree installs lacks a few features.
Once you install the new PuTTY agent, import the .ppk file that you generated (and saved). The file generated by the PuTTY installed by SourceTree uses the old PEM format. When you open the .ppk with the new PuTTY agent, it will ask you to (convert it) and save it as a .ppk recognised by PuTTY.
Enter the passphrase, and you're good to go. Import this new .ppk into Pageant, and you should be able to clone your repositories.
Hope this helps.
We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events