Sean,

You can use the ssh_options[:keys] value to set an array of filenames  
of private keys that you want to use. Just do something like the  
following in your capfile:

   ssh_options[:keys] = %w(/path/to/my-private-key /path/to/another/key)

Hope that helps,

Jamis

On May 23, 2007, at 10:28 PM, Sean wrote:

>
> Hi all,
>
> I'm new to Capistrano and though I've been running through a number of
> configurations, can't seem to get things to click. I'm looking to
> deploy on servers via root with private key authentication, using the
> same key I use when ssh'ing into those machines with the pattern  
> "ssh -
> i my-private-key [EMAIL PROTECTED]". What should be the standard
> settings in ssh_options to get this to work correctly?
>
> Thanks,
> Sean
>
>
> >


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

Reply via email to