I should clarify my final post and say that when using...
default_run_options[:max_hosts] = 1

I AM indeed given the opportunity to enter a passphrase prior to each
task, as expected. Without that option, caching the passphrase is
absolutely necessary as Capistrano carries out it's tasks across
multiple servers in parallel (as I understand it).

Best,

~ jeremy



On Sep 30, 8:58 am, jeyroz <[email protected]> wrote:
> Hi Lee, thanks for the response. I'm not sure I agree that it's
> "defective" per se, as the prompt (repeated or not) is expected when
> not using a caching mechanism. The unexpected occurrence is the
> duplicate prompt in rapid succession (with no opportunity to provide a
> passphrase) prior to the deploy tasks.
>
> Using ssh-agent to cache the passphrase works just fine and seems to
> alleviate the problem, however, I'm still unclear as to why, without
> it, I'm unable to simply provide the passphrase prior to each task -
> an inconvenient method, but should work never-the-less.
>
> Out of respect for your opinion, I've gone ahead and cleared/
> regenerated all public and private DSA identities. Once reestablished,
> all key-based communication between servers works as expected, but the
> problem discussed here persists.
>
> Thanks again for you input. I'll simply use ssh-agent and move forward
> for now.
>
> Best,
>
> ~ jeremy
>
> On Sep 29, 2:06 pm, Lee Hambley <[email protected]> wrote:
>
>
>
> > If your key agent prompts you for same passphrase for one key multiple
> > times, it is defective.

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to