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

Sourcetree not working after upgrade to v3.2.1

Binaya Kc February 16, 2021

Sourcetree version: 3.2.1
Bitbucket DC version: 6.10.0
OS: Catalina v10.15.7
Sourcetree asks for username and password even when using SSH 

Previously, when using an older version of Sourcetree (not sure which exactly), we only got prompted for SSH keys.

After upgrading Sourcetree, we get prompted for username and password during setup. I used Personal Access Token (PAT) as password and was able to get authenticated, see all the repos.
While cloning, using HTTPS, I get error "This is not a valid source/path url" below

fatal: unable to access 'https://username@company.com@url.com/scm/repo/repo.git/': Could not resolve host: company.com@url.com

When using SSH, I get error "This is not a valid source/path url" below

Please make sure you have the correct access rights

and the repository exists.

git@company.com: Permission denied (publickey).

fatal: Could not read from remote repository.

our email address is our username and we are encouraged to use SSH instead of HTTPS as only SSO login is available.
I have tried most of the solutions mentioned in the community but without any luck. 

Any help will be highly appreciated.

 

Thanks 

1 answer

0 votes
Dave Liao
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2021

@Binaya Kc - try updating to the latest Sourcetree version? For macOS, you should be able to get version 4.x.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events