|
Posted by Royan on 10/26/07 20:03
I'm trying to make use of ssh2_auth_pubkey_file() and login into
remote machine.
I've read somewhere that in order to make that function work I have to
supply it with public key with specific format due to limitation of
libssh2. The public key should look like this: <key_type>{1 space
character}<key_data>
Well it still does not work even if I change my public key file. Says
"Authentication failed for <user_name> using public key" Can somebody
help me and perhaps give an idea where to look next?
Yes, unfortunately i can not use any other way of logging in to the
remote PC, so username/password is not an option for me
Navigation:
[Reply to this message]
|