Thanks for the software phpseclib0.2.2. I am able to login to remote servers and run commands successfully !
Could someone please suggest a way I can "escape" - in order to send commands without waiting for execution, similar to this:
echo $ssh->exec('login to machine1');
echo $ssh->exec('command to server 1 which could take a couple of days to finish');
echo 'One is running <br>' ;
echo $ssh->exec('login to machine2');
echo $ssh->exec('command to server 2 which could take a couple of days to finish');
echo 'Two is running <br>' ;
