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 votes

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

691 views 5 9
Read article

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