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
@Binaya Kc - try updating to the latest Sourcetree version? For macOS, you should be able to get version 4.x.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.