One doesn't really need to use a public key for auth, right?
In my case, I have only the private key, which technically is sufficient to 
authenticate me (ssh -i pvtkeyfile ru...@rhost works). However, when I use this 
library call I don't have a public-key file to supply it with. Giving NULL for 
pubkeyfile fails with -16 (LIBSSH2_ERROR_FILE). 

libssh2_userauth_publickey_fromfile_ex(session, username, pubkeyfile, 
                                       pvtkeyfile, passphrase)

Any help?

Thanks!



      
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to