linux - Run bash script on remote machine php -


hey guys, wondering if knows way run bash script on remote machine php. php box has access exec. had heard use ssh, know if installed on webserver. need pass argument remote script.

to clarify: have 2 servers, & b
webhost php exec, , no ssh client
b amazon ec2 , have full root access, doesn't have webserver configured
there way call bash script on server b php script on server a

thanks help, max

edit: i confirmed not have ssh on webserver.

http://phpseclib.sourceforge.net/documentation/net.html - ssh2 support minimal external dependencies.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -