How do I execute remote shell script from my local PC?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5048346/run-bash-script-on-remote-machine-php">Run bash script on remote machine php</a>  </p>
</blockquote>



<p>I have a shell script (tenant.sh) in remote Linux server But I have to run this script from my local pc which is ssh configured. I am developing my code in PHP so I have to implement it with a php program please help me out. and tell me how to solve this problem. If possible give me the code spec.</p>

<p>I have already tried to run through $ssh->exec(path/tenant.sh); function but it shows ....
"Fatal error: Maximum execution time of 100 seconds exceeded in C:\php\pear\Net\SSH2.php on line 1859 "</p>
