Execute simple SSH shell commands via PHP
Edit line 27 with your password.
Upload to a web accessible address on your php enabled web server.
Provided exec() is enabled on your server, you should be able to perform many SSH commandline operations.
Use full paths when performing operations like chmod and chown
chmod -R 0777 /usr/local/www/vhosts/mysite.com/httpdocs/uploads
or when calling a specific program like
** WARNING **
Do not leave this file on your webserver as a malicious person with the right skills could guess your password and do serious damage to your server.