RE: Problem with ssh2_connect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>    Make sure that....
>
>        .... the key file exists by that name in the location you're
> specifying (hint: use a full path).
Its in ssh2_auth_public..., yes, I am using full path there.
>        .... it is the right key for that server.
Yes, I use it with ssh command from line on the same computer.
>        .... the permissions on the file are very strict (chmod 0400 ssh-rsa).
My private key has 0400

>
>
> I got error message immediately after $connection = ssh2_connect('test.starnet.cz', 22, array('hostkey'=>'ssh-rsa'), $methods);, so $connection is invalid resource for other function.

I have rsa keys, but if I use ssh-dss (hostkey), Its without warning - but I cant connect with keys.

Radek
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux