我登录到远程服务器,对文件进行了一些更改,
做了git commit和push,效果很好。
现在我想进行部署,当我把用来登录远程服务器的密码输入时,它会要求输入密码。

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

最佳答案

设置ssh login without password

关于deployment - capistrano要求输入部署密码(Net::SSH::AuthenticationFailed),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/17868406/

10-13 03:13