RE: [PHP] Problem with ssh2_connect

From: Date: Wed, 23 Jun 2010 13:51:29 +0000
Subject: RE: [PHP] Problem with ssh2_connect
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-306363@lists.php.net to get a copy of this message
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. Radek

« previous php.general (#306363) next »