I have a repository that uses 3 remotes. One is the managed remote hosted at bitbucket (origin). No problems with this one.
The second and third are remotes used for staging and production deployment at my hosting provider. When I installed a new version of sourcetree for MacOS (2.7 I believe?) pushing to these other two remotes began failing.
I suspect this has to do with the way sourcetree prompts for the passphrase for my private key (it doesn't), because I can push using system git from the command line (which sourcetree is also using) using the same command copied and pasted from the sourcetree's console window invoked from the push to repository dialog box, and this works fine. Pushing from my IDE also works fine. Only sourcetree is failing.
Any ideas? If it is, as I suspect, an issue of prompting me for my passphrase (or rather, the fact that sourcetree is not doing so), is there any way to force this to happen again?
Can you please check if your ssh keys are loaded to the ssh agent on your mac? If they are not loaded, please load them to the agent. You can run below commands in terminal to setup keys
Check for keys in agent using
Add Keys using
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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