cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SFTP transfer curl 7.29.0

From: Nikita Michalko <michalko.system_at_a-i-p.com>
Date: Mon, 18 Mar 2013 09:55:52 +0100

Thank you both, Jim and Daniel,

it was indeed the old libssh2 - it works now!

Greetings

Nikita Michalko

Am Freitag, 15. März 2013 12:00:02 schrieb curl-users-request_at_cool.haxx.se:
> Send curl-users mailing list submissions to
> curl-users_at_cool.haxx.se
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
> or, via email, send a message with subject or body 'help' to
> curl-users-request_at_cool.haxx.se
>
> You can reach the person managing the list at
> curl-users-owner_at_cool.haxx.se
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of curl-users digest..."
>
>
> Today's Topics:
>
> 1. SFTP transfer curl 7.29.0 (Nikita Michalko)
> 2. RE: SFTP transfer curl 7.29.0 (Young,Jim)
> 3. RE: SFTP transfer curl 7.29.0 (Daniel Stenberg)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 14 Mar 2013 12:21:26 +0100
> From: Nikita Michalko <michalko.system_at_a-i-p.com>
> To: curl-users_at_cool.haxx.se
> Subject: SFTP transfer curl 7.29.0
> Message-ID: <201303141221.26319.michalko.system_at_a-i-p.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi list,
>
> I'm new to curl - this is my first post ...
> Maybe had someone already reported/asked this, so excuse me pls
>
> So:
> OS: SLES 11-SP1
> Kernel: 2.6.32.45-0.3-default #1 SMP x86_64 GNU/Linux
> Version of curl (from source):
> curl 7.29.0 (x86_64-unknown-linux-gnu) libcurl/7.29.0 OpenSSL/0.9.8h
> zlib/1.2.3 libssh2/0.19.0-20080814
> Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp
> scp sftp smtp smtps telnet tftp
> Features: IPv6 Largefile NTLM NTLM_WB SSL libz
>
> I'm trying to transfer files with SFTP:
>
> curl -v -T /tmp/TESTDATEI -u ubit:PASSWORD sftp://ubis4demo/tmp/
>
> -> without success though:
>
> * About to connect() to ubis4demo port 22 (#0)
> * Trying 1xx.xx.xx.xx...
> % Total % Received % Xferd Average Speed Time Time Time
> Current Dload Upload Total Spent Left Speed 0 0 0 0
> 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to
> ubis4demo (1xx.xx.xx.xx) port 22 (#0)
> * SSH MD5 fingerprint: e7a3fa75d4ea1c41725c0e20adb44547
> * SSH authentication methods available: publickey,keyboard-interactive
> * Using ssh public key file /root/.ssh/id_dsa.pub
> * Using ssh private key file /root/.ssh/id_dsa
> * SSH public key authentication failed: Unable to open public key file
> * Initialized keyboard interactive authentication
> * Authentication complete
> } [data not shown]
> ^C
> -> here is curl hanging, after transferring exactly 16384 Bytes (file
> /tmp/TESTDATEI has only about 20KB).
>
> It is a bug, or I'm missing something?
>
>
> TIA!
>
> Nikita Michalko
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 14 Mar 2013 13:23:36 +0000
> From: "Young,Jim" <Jim.Young_at_Cerner.com>
> To: the curl tool <curl-users_at_cool.haxx.se>
> Subject: RE: SFTP transfer curl 7.29.0
> Message-ID:
> <3FAAE5B153CE324096A2BD26F8DF7651A10CD8_at_CERNMSGLS5MB5B.cerner.net>
> Content-Type: text/plain; charset="us-ascii"
>
> >OS: SLES 11-SP1
> >Kernel: 2.6.32.45-0.3-default #1 SMP x86_64 GNU/Linux Version of curl
> > (from source): curl 7.29.0 (x86_64-unknown-linux-gnu) libcurl/7.29.0
> > OpenSSL/0.9.8h zlib/1.2.3 libssh2/0.19.0-20080814
> >Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp
> > scp sftp smtp smtps telnet tftp Features: IPv6 Largefile NTLM NTLM_WB SSL
> > libz
> >
> >I'm trying to transfer files with SFTP:
> >
> >curl -v -T /tmp/TESTDATEI -u ubit:PASSWORD sftp://ubis4demo/tmp/
> >
> >-> without success though:
>
> Don't know if this will help or not but it might be worth a try. I had a
> similar problem but it was on a different OS (AIX). It was fixed by
> upgrading libssh2. I also run curl on Linux (Redhat) and don't have the
> problem there. The Linux curl -V option shows me running libssh2/1.3.0.
>
> Jim Young
>
> CONFIDENTIALITY NOTICE This message and any included attachments are from
> Cerner Corporation and are intended only for the addressee. The
> information contained in this message is confidential and may constitute
> inside or non-public information under international, federal, or state
> securities laws. Unauthorized forwarding, printing, copying, distribution,
> or use of such information is strictly prohibited and may be unlawful. If
> you are not the addressee, please promptly delete this message and notify
> the sender of the delivery error by e-mail or you may call Cerner's
> corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 15 Mar 2013 10:47:02 +0100 (CET)
> From: Daniel Stenberg <daniel_at_haxx.se>
> To: the curl tool <curl-users_at_cool.haxx.se>
> Subject: RE: SFTP transfer curl 7.29.0
> Message-ID: <alpine.DEB.2.00.1303151045210.32216_at_tvnag.unkk.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Thu, 14 Mar 2013, Young,Jim wrote:
> > Don't know if this will help or not but it might be worth a try. I had a
> > similar problem but it was on a different OS (AIX). It was fixed by
> > upgrading libssh2. I also run curl on Linux (Redhat) and don't have the
> > problem there. The Linux curl -V option shows me running libssh2/1.3.0.
>
> I completely agree. libssh2 has been improved significantly since the 0.X
> days and I would encourage everyone to upgrade to an as recent version as
> possible to get more stability and better performance.
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-18