mamesaye
mamesaye

Reputation: 2153

capistrano asking for password for deploy (Net::SSH::AuthenticationFailed)

I am logged into the remote server, made some changes to a file,
did a git commit and push which worked fine.
Now i want to deploy and it is asking for a password when i put the one I used to logged into the remote server it rolls back...

Password: 
*** [deploy:update_code] rolling back  
* executing "rm -rf /sites/eq-versions/20130725203900; true"
servers: ["eq-production"]
** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: eq-production (Net::SSH::AuthenticationFailed: deploy)
connection failed for: eq-production (Net::SSH::AuthenticationFailed: deploy)

what is wrong?

Here is the CAPFILE.

Upvotes: 1

Views: 3649

Answers (1)

Joe
Joe

Reputation: 2987

Setup ssh login without password

Upvotes: 3

Related Questions