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

Refreshing remote repositories failed using SSH

I keep getting an error when trying to refresh my remote repositories. Within the popup message there is a button that takes you to the login screen. I put in my credentials but when I log in my only option is to hit cancel. Upon trying to refresh the repos again it's the same process all over again. It's an endless cycle of trying to refresh, logging in, being forced to hit cancel (since there is no other option) and doing it again and again to no avail. The error appears no matter what.

This is extremely annoying and I can't get anything done. I log in to bitbucket just fine. My account is connected on Sourcetree yet whenever I try refreshing it shows that message and makes me log in for absolutely no result in the end. HTTP is working fine but SSH is just not cooperating and I need it to.

1 answer

0 votes
Manju Atlassian Team Jul 20, 2018

Can you please confirm the version of Sourcetree you are using and on what OS?

Sourcetree 2.7.6 Mac OS version 10.13.4

Never had this issue before... and I have literally tried everything to fix it so any help is appreciated.

"Could not authorize request with the available token. Please re-authenticate." ... This is what's showing up when I expand the error message.

Manju Atlassian Team Jul 23, 2018

Sorry for the issues that you are seeing. Just one other question, what host are you trying to connect? 

You can also remove this account from Preferences -> Accounts and add this account back again. Before adding the account back, please remove any keychain items for this account too. 

Hope this helps. If not, please revert back here with errors, screenshots and we'll be happy to help. 

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