Re: [PHP] Re: running SSH through a PHP script

2003-07-18 Thread James_Martin
it's running as the apache user.. I negated the need for a ~/.ssh/ directory by specifying the path to a private key and by putting entries for the hosts in /etc/ssh/ssh_authorized_keys. It stopped complaining after I did that. Chaining commands together doesn't work for me because I'm going

[PHP] running SSH through a PHP script

2003-07-18 Thread James_Martin
I am using SSH inside one of my PHP pages to run some commands on a remote server and return the output web page. In detail, I'm using SSHing 3 different times and it is taking a long time for the resulting page to load with the output from the remote command. When running top on my webserver