Am 11/09/2009 10:02 PM, schrieb Eduardo Otubo:
My question is about the function libssh2_userauth_publickey_fromfile()
talking to some folks on the IRC I figured out that the "passphrase"
parameter is not working well. It seems that we may pass a ramdom
passphrase or even a NULL one and the function authenticate pretty well
- at least I have this behaviour on my driver at libvirt -
https://www.redhat.com/archives/libvir-list/2009-November/msg00322.html.
Is that right? Am I doing something wrong?
I'm using that function successfully with SSH private key files.
Did you set a password for your private key file?
Heiner
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel