Source Tree Exception Edited

Hi All, 


Getting below error while trying to configure source tree. any help is appreaciated 



The OpenSSH agent is running but the server still rejected your connection. You may need to add the correct key to your agent by selecting tools > Add SSH Key

Please note that manuall logging in with username and password is not supported via OpenSSH. Please either switch to a HTTPS URL or change the SSH Client Option to Putty/Plingk in Tools > Options


2 answers

0 vote

Hi Sathishkumar, could you clarify a bit more so we can help you troubleshoot this issue?:

  • What were you doing when you got that message?
  • Can you confirm you're using the right SSH key (Tools > Add SSH Key)?
  • What version of SourceTree and OS are you using?

Best regards,


Hi Ana,

Source Tree


I was getting this message when i'm trying to clone. Yes, i did adde right SSH key.

Hi Satish,

there can be many reasons:

try this..

from the ssh key pair add private key[id_rsa] under [Tools > Add SSH Key] and public key[] under your profile. check you have read and write permissions for the repo you are trying to clone.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,957 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you