Re: Problem with ssh2_connect
| From: | Daniel P. Brown | Date: | Wed, 23 Jun 2010 13:35:18 +0000 |
| Subject: | Re: Problem with ssh2_connect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306358@lists.php.net to get a copy of this message | ||
2010/6/23 Radek Krejča <radek.krejca@starnet.cz>:
>
> PHP Warning: ssh2_connect(): Error starting up SSH connection(-5): Unable to exchange
> encryption keys in /usr/home/radek/pokus.php on line 14
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).
--
</Daniel P. Brown>
UNADVERTISED DEDICATED SERVER SPECIALS
SAME-DAY SETUP
Just ask me what we're offering today!
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/