Greetings, Not sure if this has been recently addressed, but password-based authentication against multiple hosts doesn't work correctly in the latest beta gem.
I believe it has to do with the recent change to Capistrano::Configuration::Connections establish_connections_to method. It attempts to do them all in parallel now -- and you get prompted for the login password for each concurrently. One host gets the correct password, the others don't. Simple workarounds are to pass "-p" to cap so it immediately prompts for the password, set the password explicitly in your configuration file, or use public keys. I think this can be fixed by modifying Capistrano::Variables.fetch to synchronize around the code that attempts to cache the result of the block (in this case the call to password_prompt). I'm submitting a patch for lib/capistrano/configuration/variables.rb. Cheers, Adrian --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
variables-adrian.patch
Description: Binary data
