ssh2_exec on Windows not working
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

ssh2_exec on Windows not working

From: adamsbarker <adamsbarker@gmail.com>
Date: Sat Jul 23 2005 - 07:37:31 CEST

i can't seem to get the "ssh2_exec" function working on Windows XP. the
example in the manual (which is obviously linux biased) says:

 ssh2_exec($connection, '/usr/local/bin/php -i');

i have tried the windows equivalent:

 ssh2_exec($connection, 'c:\php\php.exe c:\some_file.php');

... along with many other variations, but nothing seems to be working.
does anyone know what i could be doing wrong?

thanks,
adam.
Received on Mon Oct 17 21:15:54 2005