cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: problem about using libcurl to set up SFTP connection

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 14 Oct 2010 20:19:54 +0200 (CEST)

On Thu, 14 Oct 2010, Michael Wood wrote:

> I could be mistaken, but doesn't the SSH private key file contain the public
> key as well anyway? I seem to remember seeing that mentioned somewhere.

Almost.

The public key can be _derived_ from the private key, but it requires a little
applied math/code to do it. (That's what the missing code in libssh2 should
do...)

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-14

These mail archives are generated by hypermail.

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

File upload with ASP.NET