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?
>>> Dan -- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved ------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel