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

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -