cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: using ssh-agent?

From: Ellié Computing Open Source Program <opensource_at_elliecomputing.com>
Date: Thu, 8 Dec 2011 17:16:03 +0100

From: Daniel Stenberg <daniel_at_haxx.se>
>On Wed, 7 Dec 2011, Elli? Computing Open Source Program wrote:
>> I am trying to add SFTP support on my application. If I understood
>> correctly, I need to set the path to the public/private keys for the
>> user,
>> and potentially write some callback function to accept remote hosts.
>
>> is there any support for ssh-agent? if yes how to use it, if no, is it
>> widely used and of interest in libcurl? or its use should be in my own
>> code?
>
>libcurl has no support for ssh-agent, but libssh2 does so it should mostly
>be
>a matter of introducing the correct glue in between.

I've been looking at the API (in particular libssh2_agent_userauth
function) but I cannot figure out if it is blocking or not, as it does not
relate to the ssh channel itself.
I ask on the libssh2-devel list.

Armel

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-08