I\'ve inherited a Rails project, hosted on Linode.
The previous developer was using a BitBucket repository, along with Capistrano for deployments.
I\'ve since
Today I found the root cause on MAC. My ssh key was not added to the authentication agent so the key was not forwarded. The solution was to execute the following command:
ssh-add ~/.ssh/id_dsa
(or ssh-add ~/.ssh/id_rsa if you use rsa key)
ssh-add ~/.ssh/id_rsa
To remove all the ssh keys added to agent
ssh-add -D