cURL / Mailing Lists / curl-users / Single Mail

curl-users

Failure initialising sftp session

From: el kalin <kalin_at_el.net>
Date: Mon, 9 Jun 2014 14:00:05 -0400

hi all...

i have been able to use this:

curl -T file -u user:pass sftp://ftp.server.com/dir/'

to send over files for the last 5 years.

now one client has changed their sftp machine to some sort of a windows
thing. i can manually do this:

sftp user_at_ftp.server.com
password:

sftp> ls

sftp>bye

but the above command with this new server produces this:

* About to connect() to ftp.server.com port 22 (#0)
* Trying ftp.server.com... connected
* Connected to ftp.server.com (ftp.server.com) port 22 (#0)
* SSH authentication methods available: publickey,password
* Using ssh public key file /root/.ssh/id_dsa.pub
* Using ssh private key file /root/.ssh/id_dsa
* Initialized password authentication
* Authentication complete
* Failure initialising sftp session

* Closing connection #0

curl: (2) Failure initialising sftp session

the same thing issued to another server transfers the file with no
problem...

any ideas?

thanks....

-------------------------------------------------------------------
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 2014-06-09