Deploying rails 3.1 application to amazon EC2 Instance with Capistrano connection failed error.

Followed the step in the
http://blog.bhushangahire.net/2010/02/17/setup-capistrano-to-deploy-rails-application-on-amazon-ec2-with-git/

I think you copied from that blog post too hastily - :user should be
set to the user name, not the path to the ssh key, which is set
separately.

Fred