Re: [libssh2] libssh2_userauth_publickey_fromfile won't work with passphrase

2009-02-25 Thread Simon Josefsson
ll...@163.com writes: > Hi Heiner and Alex, > Thanks for your reply. > > Heiner, I am pretty sure that the libssh2 you are using was compiled with > openssl. I took a look at the source codes and I did find out that the > passphrase was implemented in openssl module but NOT in libgcrypt module

Re: [libssh2] libssh2_userauth_publickey_fromfile won't work with passphrase

2009-02-25 Thread llyzs
Hi Heiner and Alex, Thanks for your reply. Heiner, I am pretty sure that the libssh2 you are using was compiled with openssl. I took a look at the source codes and I did find out that the passphrase was implemented in openssl module but NOT in libgcrypt module (hope I am not crazy, I reviewed t

Re: [libssh2] libssh2_userauth_publickey_fromfile won't work with passphrase

2009-02-19 Thread Heiner Steven
ll...@163.com wrote: [...] I ran into a problem. I was successfully authenticated with the SSH server using libssh2_userauth_password and libssh2_userauth_publickey_fromfile with empty passphrase. However, when I tried to use a private key protected by a passphrass, I NEVER succeed. Perhaps

Re: [libssh2] libssh2_userauth_publickey_fromfile won't work with passphrase

2009-02-18 Thread Alexander Lamaison
2009/2/6 > I ran into a problem. I was successfully authenticated with the SSH server > using libssh2_userauth_password and libssh2_userauth_publickey_fromfile with > empty passphrase. However, when I tried to use a private key protected by a > passphrass, I NEVER succeed. > I decided to take