Try adding this to your capfile: ssh_options[:keys] = "/path/to/identity_file"
- Jamis On May 19, 2008, at 8:46 AM, eric wrote:
Hello all, I am trying to deploy to a staging server that is on EC2. I seem to be having an issue when running the cap deploy:setup command.Normally when I SSH to my EC2 instance, I run the command ssh [EMAIL PROTECTED]address] -i [identity_file]. This allows me to login to the EC2 instance without needing to enter in a password on the command line. How do I get this type of thing to work via capistrano? Where can I pass in the '-i [identity_file]' command, because it seems that when I run cap deploy:setup, i'm getting prompted for a password. Is this clear? Thanks for any help! -Eric --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
smime.p7s
Description: S/MIME cryptographic signature
