After updating to version 2.7 (macOS Sierra), source tree can't push anymore.
Pushing to ssh://git@git.abc.com/abc.git
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I can push though from the command line after entering my passphrase. I can fetch and pull with no problem from source tree.
You can check if the keys are loaded to the agent and if not, load them manually. This would just work fine with Sourcetree.
To check if key is loaded, use this command
ssh-add -l
To load keys, use this command
ssh-add <path_to_key>
e.g.,
ssh-add ~/.ssh/id_rsa
Additionally, please check if the account added in Preferences and remote URL used for clone match protocols (both are ssh).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.