[EMAIL PROTECTED] 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/libssh2-devel