Subject: Re: EPIPE causes 'Authentication by public key failed' for examples with keyfile authentication at OpenSSH server

Re: EPIPE causes 'Authentication by public key failed' for examples with keyfile authentication at OpenSSH server

From: TJ Saunders <tj_at_castaglia.org>
Date: Tue, 24 Apr 2012 15:53:51 -0700 (PDT)

> "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
Received on 2012-04-25