It's not the authentication that is failing, it is the lower-level attempt to open a forwarded port to the remote host.

I wonder if your gateway's SSH implementation is somehow not configured to allow port forwarding. That, or maybe the SSH server on the remote host is not running on port 22? Or maybe there is a permission's issue on the gateway? I've never encountered this error before, so I'm just shooting in the dark, but maybe it'll give you something more to investigate.

- Jamis

On Oct 15, 2007, at 8:52 AM, Piotr 'Qertoip' Włodarek wrote:


Capistrano 2.0 and 2.1.

    gateway connection established
  * establishing connection to `88.198.27.52' via gateway
c:/ruby/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:88.198.27.52:22 (1, open failed) (Net::SSH::Exception)

I'm getting mad with this... any ideas?

I authenticate via keys to the gateway. But how Capistrano will try to
authenticate to the remote host (88.198.27.52)? Does it automatically
pass my private key through the gateway? Or perhaps I have to manually
store private key on the gateway also?

I would be grateful for any help.


--~--~---------~--~----~------------~-------~--~----~
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 capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.co.uk/ group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to