Re: [PHP] Problem with SSH output when called from apache

2004-09-07 Thread Jason Wong
On Tuesday 07 September 2004 08:16, Chandu Nannapaneni wrote: > I want to capture the output of a certain remote command ( issued > But when called from apache .. It's not giving any ouput. Does the logs on the ssh server indicate a successful login? > [EMAIL PROTECTED] is well configured for ss

Re: [PHP] Problem with SSH output when called from apache

2004-09-06 Thread Rasmus Lerdorf
On Mon, 6 Sep 2004, Chandu Nannapaneni wrote: > I want to capture the output of a certain remote command ( issued > thru a SSH session to a remote server) in PHP. > > The following code is working well when ran from the console > Ex: php -q test.php > > passthru("/usr/bin/ssh -v -i /var/wwwhtml/ss

[PHP] Problem with SSH output when called from apache

2004-09-06 Thread Chandu Nannapaneni
Hi everyone !! I want to capture the output of a certain remote command ( issued thru a SSH session to a remote server) in PHP. The following code is working well when ran from the console Ex: php -q test.php But when called from apache .. It's not giving any ouput. [EMAIL PROTECTED] is well