Hi Jamis,

On the remote server
===============

from "cat /proc/version"
Linux version 2.6.16.60-0.23-bigsmp ([EMAIL PROTECTED]) (gcc version
4.1.2 20070115 (SUSE Linux)) #1 SMP Thu May 15 06:38:31 UTC 2008

from "ssh -V"
OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005

Hope this helps

Ju

On Oct 5, 4:22 am, Jamis Buck <[EMAIL PROTECTED]> wrote:
> It's set on line 354 of that same file, when the remote process  
> terminates it should send a channel-request packet with the exit  
> status. What version of OpenSSH are you running on the remote server?  
> What is the remote OS?
>
> - Jamis
>
> On Oct 4, 2008, at 5:19 PM, bartocc wrote:
>
>
>
>
>
> > Hi,
>
> > I recently spoke with Jamis on the IRC to report a problem I had with
> > a "download" call over a gateway connection.
>
> > Looks like the problem comes from line 351 of lib/net/scp.rb
>
> > channel.on_close { |ch|
> >  raise Net::SCP::Error, "SCP did not finish successfully
> > (#{ch[:exit]})" if ch[:exit] != 0
> > }
>
> > ch[:exit] never seems to get set, so the raise occurs.
>
> > I tried commenting out this line, and everything works great.
> > The download is done as expected.
>
> > I tried a "download" via :scp on a single server without a gateway,
> > but did not reproduce the bug. And I could not find in net-scp code
> > where else channel[:exit] was set.
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to