Subject: libssh2_userauth_publickey_fromfile() and passphrase

libssh2_userauth_publickey_fromfile() and passphrase

From: Ben Kibbey <>
Date: Sat, 11 Apr 2009 12:48:59 -0400

I'm having problems getting a passphrase to work with the identity file
specified in libssh2_userauth_publickey_fromfile(). The returned error
code is LIBSSH2_ERROR_PUBLICKEY_UNRECOGNIZED. An identity without a
passphrase works fine. This happens with both RSA and DSS identities
generated with ssh-keygen from OpenSSH. I'm using version 1.1 of
libssh2. Is this going to be supported in a future release?

Thanks for libssh2,

Ben Kibbey (bjk) @ FreeNode/OFTC/Jabber
KeyID: 0xF2B33BEF
This email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
libssh2-devel mailing list
Received on 2009-04-11