cURL / Mailing Lists / curl-library / Single Mail


Re: using ssh-agent?

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

From: Daniel Stenberg <>
>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
>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.


List admin:
Received on 2011-12-08