Originally Posted by Chuck56
You're up against user permission issues. PHP inherits the user permissions of the web server (e.g. Apache). Can your web server issue a passwordless SSH command?
You might be right .
Being new to linux can u help me giving permission to Apache webserver.
The reason i m not giving a password for SSH is i have added RSA key to Remote server i.e 10.180.8.231 there fore when i execute ssh -ttq 10.180.8.231 ls -ltr it doesnt ask for password .
However i m not sure how do i run the same command from web browser ?