cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Can't connect to a SFTP site using private key

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Apr 2012 15:44:06 +0200 (CEST)

On Thu, 19 Apr 2012, Yura Kaidalov wrote:

> Here's my questions: is there are any way to connect to a host using private
> key only? And why does curl needs both public and private keys to make a
> connection?

curl needs it because libssh2 used to require both and I figure something is
not updated properly to take advantage of how things work today.

Nowadays libssh2 only requires both if built against gcrypt instead of
OpenSSL.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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 2012-04-19