:-) Thanks, TJ, this seems to be the case...

Here's the next:

[libssh2] 0.414362 Userauth: Loading private key file: /home/i/.ssh/id_rsa
[libssh2] 0.414594 Failure Event: -16 - Unable to initialize private key
from file
[libssh2] 0.414606 Failure Event: -19 - Callback returned error
Authentication by public key failed!

Any idea about the meaning of "Unable to initialize private key from file"?

Thanks a lot, Nick

2012/4/25 TJ Saunders <t...@castaglia.org>

>
> > "Failure Event: -16 - Unable to open public key file"...??
>
> > Here my access rights:
> > drwx------  2 i i 4096 2012-04-23 10:52 .
> > drwxr-xr-x 58 i i 4096 2012-04-24 23:06 ..
> > -rw-------  1 i i  388 2012-04-22 21:07 authorized_keys
> > -rw-------  1 i i 1766 2012-03-23 14:55 id_rsa
> > -rw-------  1 i i  381 2012-03-23 14:55 id_rsa.pub
> > -rw-------  1 i i  727 2012-03-23 17:10 keygen.log
> > -rw-------  1 i i 1328 2012-04-23 10:52 known_hosts
>
> > [libssh2] 0.404525 Userauth: Loading public key file: ~/.ssh/id_rsa.pub
>
> The libssh2 library does not automatically resolve the tilde (~)
> character, as I recall.  You might try configuring in the full path to
> that id_rsa.pub file.
>
> Cheers,
> TJ
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>   Words are also actions, and actions are a kind of words.
>
>     -Ralph Waldo Emerson
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to