cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Problems with SFTP on Solaris 8

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 10 Dec 2007 13:02:39 +0100 (CET)

On Wed, 5 Dec 2007, c.gonzalez.almiron_at_accenture.com wrote:

> I'm susscesfully compiled the curl and libcurl library 1.17.1 with

That is 7.17.1 I presume! ;-)

> When I try something like:
>
> curl -v "sftp://username:password@server.domain/filename.ext
>
> The output is
>
> * About to connect() to server. domain 22 (#0)
> * Trying 10.10.16.21... connected
> * Connected to server.domain (10.10.16.21) port 22 (#0)
> * Failure establishing ssh session
> * Closing connection #0
>
> curl: (2) Failure establishing ssh session

Sounds like a libssh2-related problem. Do you have the proper public keys for
the user or do you allow password login for it properly? Can you get the
libssh2 examples and try them directly to check of this is a problem with
libssh2 or with curl?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-12-10

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET