Dear Group:

I previously posted this problem to the libcurl group and after
considering it, think  it might actually be a libssh2 problem.

The general problem  is that if my private key is encrypted--with
a passphrase, I can't complete authentication with the SSH
server using libssh.  The situation is similar to the normal
Linux scenario where ssh-add is used to automatically
supply the passphrase for non-interactive applications.

Some details are as follows:  I am using the libcurl
curl_easy_set_opt() routine with CURLOPT_KEYPASSWD
to pass the passphrase with no special syntax. I receive
error code 67 and the diagnostic:
"SSH public key authentication failed: Unable to initialize
private key from file"

Do you have any insight about this problem ?

Best Regards,

Paul R.



--
Paul Romero

RCOM Communications Software

Phone/Fax: (510)339-2628
E-Mail: pa...@rcom-software.com
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to