I've been following this tutorial.
I'm working with WebFaction. The difference to be noted, is that WF uses NginX and not Passenger.
So after I got through the whole thing an开发者_Python百科d I type:
cap deploy
It returns after I type my password ( correctly? ):
Password:
*** [deploy:update_code] rolling back
* executing "rm -rf /home/shadyfront/webapps/age_of_revolt/releases/20110211211509; true"
servers: ["174.133.20.24"]
** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: 174.133.20.24 (Net::SSH::AuthenticationFailed: shadyfront)
connection failed for: 174.133.20.24 (Net::SSH::AuthenticationFailed: shadyfront)
I'm pretty sure this is where it is erring. Any ideas what kind of error this is?
Thanks everyone!!
I see a couple peculiar errors here:
connection failed for: 174.133.20.24 (Net::SSH::AuthenticationFailed: shadyfront)
That error is telling you that your login is failing. Generally, you would want to use public key logins for cap so you don't have to type your password all of the time. However, the password method should still work.
- Double-check your password.
- Make sure that you can do
ssh shadyfront@174.133.20.24
manually and get a command prompt.
use next ~/.ssh/config file:
KeepAlive yes
User shadyfront
RSAAuthentication yes
IdentityFile ~/.ssh/id_rsa
HostbasedAuthentication no
精彩评论