The password prompt appears to be for Capistrano trying to connect to localhost. Can you paste your deploy.rb?
- Jamis On Jul 22, 2008, at 2:32 AM, NgTzeYang wrote: > > I'm a newbie to capistrano and is trying to test "cap deploy" on my > own machine, since access to my production server is server is pretty > slow and i hope to overcome any troubleshooting on my own machine > first. > > Anyway, here's what i got: > > #$ cap deploy > * executing `deploy' > * executing `deploy:update' > ** transaction: start > * executing `deploy:update_code' > * executing `before_update_code' > * executing "bzr checkout --lightweight /var/lib/bzr/project/ > release-0.0.0 /var/www/company/rails/project/releases/20080722081915 > && (echo head > /var/www/company/rails/projectt/releases/ > 20080722081915/REVISION)" > servers: ["localhost"] > Password: > *** [deploy:update_code] rolling back > * executing "rm -rf /var/www/company/rails/project/releases/ > 20080722081915; true" > servers: ["localhost"] > ** [deploy:update_code] exception while rolling back: > Capistrano::ConnectionError, connection failed for: localhost > (Net::SSH::AuthenticationFailed: ngtzeyang) > connection failed for: localhost (Net::SSH::AuthenticationFailed: > ngtzeyang) > > I'm not sure if the password prompt is for ssh or bzr checkout. > > Anyway, I've tried in bash: > #$ ssh [EMAIL PROTECTED] > #$ bzr checkout --lightweight /var/lib/bzr/project/release-0.0.0 /tmp/ > project > > All without any problem, and no prompt for password ever needed. > > What's wrong ? > > Any hint is greatly appreciated. > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
