www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Any other way to authenticate using only private key

Any other way to authenticate using only private key

From: Akshay Joshi <akshay.joshi_at_enterprisedb.com>
Date: Tue, 10 Jul 2012 17:12:29 +0530


I am using "*libssh2_userauth_publickey_fromfile()*" function to
authenticate using public-private key pair. As it is mentioned in the
documentation is If libssh2 is built against OpenSSL, publickey parameter
can be set to NULL.

Why do we required to set publickey parameter if libssh2 is built against
any other SSL library. Do we have any other API so that I'll authentication
using only private key.

Do we have any other solution to this problem. Please let me know

*Akshay Joshi
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise PostgreSQL Company
Phone: +91 20-3058-9522
Mobile: +91 976-788-8246*

libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-07-10

the libssh2 team