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

Archive Index This month's Index

Subject: libssh2 - public key and/or password auth methods

libssh2 - public key and/or password auth methods

From: Mark Riordan <mriordan_at_ipswitch.com>
Date: Wed, 22 Dec 2010 16:59:06 -0600

How should an application determine whether both public key
and password authentication methods are required?
I'm not sure how to determine the difference between a server
that requires both, or will take either one.

I was kind of expecting functions like libssh2_userauth_publickey_fromfile
and libssh2_userauth_password to have a return code that says
"successful so far, but more authentication is required".

Thanks.

Mark R

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-22

the libssh2 team