I\'m trying to deploy code with Capistrano 3 to Ubuntu server from GIT repository, but I\'m getting this error.
=====================================================
If all above solutions did not work for you, try this. It work for me. Cheer.
ssh-add ~/.ssh/your_private_id_rsa and run eval `ssh-agent`
Ref: http://mjacobus.github.io/2015/08/20/solving-weird-capistrano-problems-with-ssh-authentication.html