Reply to Can not login to remote SSH server using ssh2_auth_pubkey_file

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация