curl-users
Re: curl scp upload failing
Date: Tue, 17 Jun 2008 00:53:08 +0200 (CEST)
On Mon, 16 Jun 2008, Hans-Jürgen May wrote:
> curl -vvv --key /home/user/.ssh/id_rsa --pubkey /home/user/.ssh/id_rsa.pub
> --user user: \
> -T KV7030_testfile0 scp://localhost/home/user/KV7030_testfile0.scp
I tried this now against my OpenSSH_4.7p1 server and I managed to upload a
1800 bytes file twice just fine, using a command line like above (public key
auth, upload) with the following two configurations:
$ ./src/curl -V
curl 7.19.0-CVS (i686-pc-linux-gnu) libcurl/7.19.0-CVS OpenSSL/0.9.8g
zlib/1.2.3.3 c-ares/1.5.3-CVS libidn/1.8 libssh2/0.19.0-CVS
Protocols: tftp ftp telnet dict ldap http file https ftps scp sftp
Features: AsynchDNS Debug GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
$ curl -V
curl 7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3
libidn/1.8 libssh2/0.18
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
... so I think we need to try to narrow in exactly what it is that causes your
problem!
-- / daniel.haxx.seReceived on 2008-06-17