cURL / Mailing Lists / curl-library / Single Mail


RE: reg:libcurl sftp support for trusted hosts

From: <>
Date: Fri, 13 Jun 2008 14:11:29 +0530

Hi Dan

Thanks for your reply

What I am trying to achieve is ssh Server Authentication using libcurl,
I mean

Trust host authentication . And then after trusting the hosts I would do
a user

Authentication which will be a password authenticaiton. I am already
able to

do user authetication for SFTP , now I want to do ssh authentication.

I mean:

If the trusted hosts are not conifgured then the ssh seesion should fail
and sftp transfer should
Terminate. Can I have a sample code for this? Or some clues how do
achieve this

Thanks in Advance


-----Original Message-----
[] On Behalf Of Dan Fandrich
Sent: Thursday, June 12, 2008 10:18 PM
Subject: Re: reg:libcurl sftp support for trusted hosts

On Thu, Jun 12, 2008 at 04:48:00PM +0530, wrote:
> This is regarding libcurl sftpsupport ..
> how do I support password based authentication to the trusted hosts
> for sftp protocol
> I am able to do password authentication but I am not able to do
> trusted hot checking

Are you looking for the CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 option?

>>> Dan

--              The web change of address
          Let webmasters know that your web site has moved
Please do not print this email unless it is absolutely necessary. 
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Received on 2008-06-13