
Remote commands over SSH from WordPress (Using phpseclib)
I commonly want WordPress to run code, like a bash script, directly on the command line. In PHP there is a set of functions which is commonly disabled for security purposes. That includes exec which is PHP’s command to do just…