Friday, January 18, 2013

Permission denied (publickey) error when doing cap deploy

I encountered this when trying to do a capistrano deploy on one of client's server. This error means that the server that's trying to fetch from repository on Github does not have permission to do so. We can resolve this with either:


If ssh-agent isn't running, run the following in terminal.

exec ssh-agent bash

No comments: