here's the problem: most of my roles (app, web) use the same user and
do not need a gateway. my db role however needs an ssh tunnel and a
different user, plus a public key.
here's what i have set up:
task :production do
ssh_options[:keys] = "#{current_path}/config/my-key"
set :gateway, 'my.gateway.com'
role :web, 'my.webserver.com'
role :app, 'my.appserver.com', :primary => true
role :db, "[EMAIL PROTECTED]", :no_release => true, :primary =>
true
end
i keep getting the error:
* establishing connection to [EMAIL PROTECTED]' via gateway
Net::SSH::AuthenticationFailed: root
...
connection failed for: [EMAIL PROTECTED]
(Capistrano::ConnectionError: could not establish connection to
[EMAIL PROTECTED]')
any ideas?
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---