curl-users
Problems with SFTP on Solaris 8
Date: Wed, 5 Dec 2007 12:48:18 +0100
Hello all,
I´m trying to use curl to download files using SFTP on a Sun Solaris 8 server.
I'm susscesfully compiled the curl and libcurl library 1.17.1 with libssh2-0-17 and openssl-0.9.8f shared libraries.
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
Using the sftp unix command works fine, establishing the SFTP conection authenticating by user/password without problems
Thanks in advance
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
Received on 2007-12-05