On Sat, Dec 08, 2007 at 05:50:58PM -0800, Bill Atkins wrote: > I'm trying to use Capistrano to deploy my Rails application. The > production server can only be accessed through a gateway. > > Here are the relevant parts of my configuration (server names > changed): [...] > And here is the error I get: > > % cap prod deploy -S gateway_user=atkinw -S [...] > * establishing connection to `projects.myservername.com' via gateway > /usr/local/lib/ruby/gems/1.8/gems/net-ssh-1.1.2/lib/net/ssh/service/ > forward/driver.rb:126:in `direct_channel': could not open direct > channel for 65535:projects.myservername.com:22 (2, Connection refused) > (Net::SSH::Exception) [...] > Anyone know what's going on?
This looks like a server config issue to me. Have you actually tried to ssh to your production server from your gateway server? It looks like projects.myservername.com is refusing connections on port 22. --Greg --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
