Locally, pull/push and all other git commands work as expected. Although during deployment (Capistrano) I get "fatal: Authentication failed"
I have tried variations of ssh and https:
ssh://git@bitbucket.org/user/repo.git
git@bitbucket.org:user/repo.git
When prompted for user name and password, details are entered correctly, but the authentication fails. SSH keys have been added to bitbucket user account and a read only key has been added to the deployment keys which has made no difference in the authentication issue.
Is there some OS related issue here, perhaps cURL?