Ezra,

Capistrano is currently extremely opinionated on this point. There is setting anywhere you can tweak to make Capistrano use different SSH settings for different machines. It would require some rethinking in how portions of Capistrano are designed, in fact.

If you're interested in hacking on it, I'd consider any patch that added this functionality, so long as it also kept complete backwards compatibility, including support for the existing ssh_options hash.

- Jamis

On Nov 3, 2006, at 1:03 PM, Ezra Zygmuntowicz wrote:


Hello~

        I am using capistrano to build Xen VM's with the whole rails stack
on them. I need to build a ton of these and would like to do it in
parallel cap style. The catch is that ssh access to all these VM's is
through the same IP address but each one is on a different ssh port
number. Is there anyway to tell cap to use a different port number
for each VM I am trying to build? It seems like cap caches the
ssh_options[:port]  and uses only the one port for all connections.
IS this hard coded in cap somewhere? Can you give me a pointer to how
to go about adding multiple ssh port functionality to cap? I am happy
to make a patch and contribute it back.

Thanks-

-- Ezra Zygmuntowicz -- Lead Rails Evangelist
-- [EMAIL PROTECTED]
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)





--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to