cURL / Mailing Lists / curl-library / Single Mail

curl-library

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