On Thursday 09 February 2012 11:21:52 you wrote:
> Thank you so much, i have just use the master code. Is there an
> example to show how to use pki ? or a deeper inside on the PKI to
> implement pubkey  auth.

Read the API documentation of the pki functions

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

and the SSH RFC.

What you need to do is:

ssh_message_auth_pubkey()

ssh_pki_import_pubkey_*()
ssh_key_cmp()


        -- andreas

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


Reply via email to