Subject: Re: [libssh2] Requirement of public key for client authentication

Re: [libssh2] Requirement of public key for client authentication

From: Sara Golemon <pollita_at_libssh2.org>
Date: Thu, 12 Apr 2007 10:56:31 -0700

dan_at_coneharvesters.com wrote:
> The function libssh2_userauth_publickey_fromfile(), as used in the example
> scp.c and sftp.c programs, takes arguments for both the public and private
> keys of the user. However, the -i option in OpenSSH's scp and ssh takes
> only the private key to perform the same operation. Is there a way to have
> libssh2 require only the private key?
>
Yes, but not currently. When I originally wrote that I was using
OpenSSL as a "black box" for handling pubkey auth. Now that I know how
to parse PEM files directly, I plan to make that API much more flexible
and friendly.

-Sara

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-04-12