Because it totally sucks. You are the 10th person to complain about this, and the wheel goes 'round and 'round.
See previous posts for some possible solutions. My guess: Net::SSH::Authentication is screwing things up by caching keys. But, regardless, yes, the output sucks. On Wed, Nov 17, 2010 at 1:03 PM, phil <[email protected]> wrote: > I see other people on here talking about this... but there seems to be > no adequate guide for this. > > I've created a new Ubuntu 10.04 instance on ec2. I cannot get > capistrano to talk to it. Nor can I get capistrano to output > verbosely! > > I have capistrano 2.5.19 > > Here's the good stuff from the deploy: > > > default_run_options[:pty] = true > ssh_options[:keys] = ["./keys/ourcompany-us.pem"] > ssh_options[:config] = false > ssh_options[:verbose] = :debug > > set :deploy_via, :remote_cache > set :user, "admin" > set :use_sudo, false > > Here's what we get: > > > $ cap deploy:check > * executing `deploy:check' > * executing "test -d /u/apps/toygaroo/releases" > servers: ["xxx"] > Password: > connection failed for: xxx (Net::SSH::AuthenticationFailed: admin) > > a) why isn't this connecting when using the same key works fine for > ssh > b) why isn't the output more verbose? > > Interestingly enough, on another app we have capistrano 2.5.5 and if > we add the > ssh_options[:verbose] = :debug > into the deploy we get tons of output! > > So - two questions > > 1 - how do we get capistrano to ssh to a new ec2 instance > 2 - how do we get more output? > > -- > * 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 -- * 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
