On Wednesday 03 July 2013 18:59:02 Jose David Bravo A wrote:
> Hello,

Hi,

> I'm looking for something like privatekey_from_file but that receive the
> base64 priv key in the parameters. I have the key stored in a (C-char *)
> var and I don't want to write it into a file.
> 
> I want to use the private key to connect to a SSH.
> 
> Any idea what can I do?

this is available in the current development version, see:

http://api.libssh.org/master/group__libssh__pki.html#ga5f2a2ca4b9b711d1c1af8020dfbd4a53



        -- andreas

-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                [email protected]


Reply via email to