cURL / Mailing Lists / curl-users / Single Mail


RE: curl using SSH issues

From: Abu-Rashid, Ebrahim <>
Date: Thu, 11 Oct 2007 14:43:49 -0400

I am able to access the remote site using a regular sftp session without any problems; and using the same credentials that I use for cURL.

sftp -F old user_at_10.20.30.40
Connecting to
SSH Server supporting SFTP and SCP
Authenticated with partial success.
SFTPMonitor_at_10.20.30.40 password:
sftp> ls

   Ebrahim Abu-Rashid
Senior System Admin
" Sterling Commerce
' 614.760.2360
6 614.734.6538
                    Anything man can conceive and believe he will achieve ......... Og Mandino

-----Original Message-----
From: [] On Behalf Of Dan Fandrich
Sent: Thursday, October 11, 2007 2:07 PM
Subject: Re: curl using SSH issues

On Thu, Oct 11, 2007 at 01:07:27PM -0400, Abu-Rashid, Ebrahim wrote:
> I am trying to use cURL with ssh2 for sftp sessions; every time I try to
> execute the program I seem to get the error
> curl: (2) Failure initialising sftp session

Are you sure the remote server has sftp configured? Can you access the site
using a different sftp client?

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-10-11