Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

reset passphrase?

Marty Cullen December 22, 2016

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

0 votes
Marty Cullen December 22, 2016

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
TAGS
AUG Leaders

Atlassian Community Events