I can't seen to push any of my beanstalk repos using sourcetree. The same push works fine with terminal (git push Beanstalk master). Here is the error that sourcetree returns:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags Beanstalk refs/heads/master:refs/heads/master
Pushing to firstname.lastname@example.org:/mdeany/tdc-welcome-email.git
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
Notice how is says, "Completed with errors". This is untrue. The push is not successful. My public key seems to be still there.
I spoke too soon. Pushing to Beanstalk with SourceTree has stopped working again. I enter this command in terminal:
I get this response:
The agent has no identities.
I tried adding the public key again like this:
then I am asked for my passphrase:
Enter passphrase for /Users/pm-imac-home/.ssh/id_rsa.pub
But when I enter my computer user password I get:
Bad passphrase, try again for /Users/pm-imac-home/.ssh/id_rsa.pub:
Ah ok. I think I am supposed to add the private key. This works:
I get the return:
Identity added: /Users/pm-imac-home/.ssh/id_rsa (/Users/pm-imac-home/.ssh/id_rsa)
But the question now is: Why do I continue to have to add the key to ssh-agent every time I restart my computer?
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG