Hello, I'm trying to set up capistrano for my rails 3 app. Here is the architecture :
I have only one server, but I have to be connected to a VPN before being able to SSH on it. Here is the command line I'm running to ssh on it (once I'm connected to the vpn through the osx client): ssh -o PreferredAuthentications=password -p 22 deployer@bastion_name:[email protected] Does anyone know how can I translate that into the deploy.rb file ? for the moment i have this one : server "10.XXX.XXX.10", :web, :app, :db, primary: true ssh_options[:port] = 22 set :application, "my_app" set :repository, "[email protected]:my-app/my-app.git" set :deploy_to, "/var/www/#{application}" set :deploy_via, :remote_cache set :use_sudo, true set :user, "deployer" set :scm, :git set :branch, "master" set :port, 22 default_run_options[:pty] = true ssh_options[:forward_agent] = true or if there is no way, which params do I have to pass to Net::SSH.start ? Thank you ! -- * 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
