Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

repo clone with SSH on windows fails

I tried to clone this repo:

When I click on clone, I get the popup (twice actually) "Authentication via SSH keys failed.....blah blah".   I use putty, import the key.  Click yes and retry and back to the same popup.


I am using windows.   using bash shell on windows, I have this setup as well:

mattr@TopWoo MINGW32 /c/users/mattr/.ssh
$ ls -l
total 17
-rw-r--r-- 1 mattr 197609  114 Sep 19 13:16 config
-rw-r--r-- 1 mattr 197609 2727 Sep 19 12:46 git_hub_putty.ppk
-rw-r--r-- 1 mattr 197609  837 Sep 19 12:48 git_hub_putty_public.ppk
-rw-r--r-- 1 mattr 197609 3326 Sep 19 12:39 id_rsa
-rw-r--r-- 1 mattr 197609  749 Sep 19 12:39


Please advise.




2 answers

1 accepted

Turns out my problem was created by me.....

I forgot to upload the public key to github.  I do not know if github returned more data that could be helpful as it was rather difficult to assess the problem. It would be nice to have a better message, if its possible.

Getting rid of the duplicate error messages, however, should be a priority. That is just an frustrating user experience.

0 votes
minnsey Atlassian Team Sep 20, 2018


I will check locally but in the meantime can you try switching to openSSH in Tools/Options/General tab and use that?

You will need to export your github key in a suitable format for openSSH.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,056 views 5 13
Read article

Community Events

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

Events near you