reset passphrase?

This morning I updated Sourcetree.

When complete, it asked for a password (Which it never does under normal circumstances)

I skipped past it a couple times and eventually gave my Mac password

I believe it was asking for the SSH Passphrase - which I have since discovered

This allowed me to access the repository from the command line

But I can not access using Sourcetree

I have verified that the repo still exists, I have permission via SSH key

Is there a way to tell SourceTree the proper passphrase?

 

I get the following response on a fetch:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin 

Permission denied (publickey).

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

and the repository exists.

Completed with errors, see above

 

 

 

1 answer

I tried deleting the app and reinstalling, but it retained all my settings and the problem persisted.

I found this article: https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html and removed the settings.  When I added my first repo and fetched, it asked for the passphrase (The dialog is not very good at telling you what it is looking for) and now it works.

If there is an easier way that would be nice to add to this issue.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

718 views 0 4
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