capistrano要求部署密码(Net :: SSH :: AuthenticationFailed)

时间:2013-07-25 20:45:03

标签: deployment ssh capistrano

我登录到远程服务器,对文件进行了一些更改,
做了一个git提交和推送工作正常。
现在我想部署,当我把我用来登录远程服务器的那个回滚时它要求输入密码......

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)

有什么不对?

这是CAPFILE

1 个答案:

答案 0 :(得分:3)