Subject: Re: Debugging SCP failure: "Timed out waiting for SCP response"

Re: Debugging SCP failure: "Timed out waiting for SCP response"

From: Tim Martin <timm_at_africonnect.co.zm>
Date: Mon, 11 Oct 2010 11:58:39 +0200 (CAT)

----- "Uli Zappe" <uli_at_ritual.org> wrote:

> Am 11.10.2010 um 09:51 schrieb Tim Martin:
>
> > The client can connect to the server and authenticate OK. I can also
> execute commands on the remote shell OK. However, when I try and call
> libssh2_scp_recv() I always get a null result.
> > [...]
> > The most noticeable log line is
> >
> > [libssh2] 1.001111 Failure Event: -28 - Timed out waiting for SCP
> response
>
> Could it possibly be (due to an error on the RouterOS side or
> whatever) that the file you're trying to receive has a size of 0 Byte?

I don't think so. If I do

$ scp admin_at_192.168.88.1:firewall.rsc ./

then it successfully downloads as a 27Kb file.
 
Thanks for the suggestions and info on timeouts,

Tim
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-11