I found on OS X with ruby 1.9.2 that it only likes absolute paths to the key on the filesystem.
On Friday, February 4, 2011 12:47:52 PM UTC-7, David J. Hamilton wrote: > > Excerpts from phil's message of Wed Nov 17 04:03:53 -0800 2010: > > default_run_options[:pty] = true > > ssh_options[:keys] = ["./keys/ourcompany-us.pem"] > > ssh_options[:config] = false > > ssh_options[:verbose] = :debug > > > a) why isn't this connecting when using the same key works fine for > > ssh > > You may want > > ssh_options[:keys_only] = true > > Which, from what I understand, is equivalent to IdentitiesOnly in > ~/.ssh/config > (man ssh_config). > > > b) why isn't the output more verbose? > > Could be the version of Net::SSH. I have almost the same setup as you: > deploying to an ec2 instance running 10.04. I was having problems with > Net::SSH > using the wrong keys from my agent until I upgraded to 2.1.0. > > $ gem list -l net-ssh$; gem list -l capistrano > net-ssh (2.1.0, 2.0.23) > capistrano (2.5.19) > > -- > med vänlig hälsning > David J. Hamilton > > -- * 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
