Daniel Stenberg wrote:
>
> I would suggest you instead base your efforts on the latest libssh2
> git repo, and then you run "./buildconf" to get a set of configure +
> Makefile.in etc.
>
Well I did the best I could to apply the patch to the current git
version, but I messed something up so I'll get back to that later.
I took the buildconf script from the git version and ran that on the old
1.0 tree, which built everything. Then I realize I have no way to test
it, and so I started to modify the example ssh2. At that point, I
realize I need to understand the publickey argument to the agent API.
LIBSSH2_API int libssh2_userauth_publickey_fromagent_ex(LIBSSH2_SESSION
*session, const char *username, unsigned int username_len,
const char *publickey);
The agent wont give you the public key (thats part of the whole point)
so that can't be output. If it's input, what on earth does it want? I'm
going to try to walk of my migraine now and come back to this later...
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-07-11