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:
https://answers.atlassian.com/questions/149805/getting-authetication-errors-via-ssh
https://answers.atlassian.com/questions/149890/using-sourcetree-for-windows-with-ssh-keys
Hope this helps!
Apparently the bug in the second answer still exists even though it states after 0.9.0.x it shouldn't. I manually added the key directly within Pageant and it works!
Thanks Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Chris,
You may try re-installing Pageant, found here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked. Simple and quick fix. Thanks :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is what i found Go to >Tools>Options>General Tab>put your ssh private key with .ppk extension>then go into system next with battery in widows>click on paegent with blue mark computer and hat>enter you .ppk key >Enter pass>close it
Now You can push or clone project
If this does not goes well try restart oc and sourcetree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked. was stumped as I had added the key to the "Pagent" but it was still throwing the same SSH error, if I set up the GitLab account in Sourcetree to use SSH. Adding the key as mentioned fixed this error.
NOTE: The error would not come if the account was setup to use HTTPS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All I had to do is restart Pageant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you verify that you have successfully added your private keys (*.ppk) in putty.
It was failing for my case as well. But once I have added explicitly it worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks man :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same problem. I solved it by going to Settings -> Convert All to SSH.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.