Re: Problem with ssh2_connect

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

 



2010/6/23 Radek Krejča <radek.krejca@xxxxxxxxxx>:
>
>    Make sure that....
>
>        .... the key file exists by that name in the location you're
> specifying (hint: use a full path).
>        .... it is the right key for that server.
>        .... the permissions on the file are very strict (chmod 0400 ssh-rsa).
>
>
> 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.

    Right.... point being?  Your connection instantiation includes the
key file denotation.  Did you check the things I mentioned?

-- 
</Daniel P. Brown>
UNADVERTISED DEDICATED SERVER SPECIALS
SAME-DAY SETUP
Just ask me what we're offering today!
daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx
http://www.parasane.net/ || http://www.pilotpig.net/

-- 
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