SSH on Shared Hosting

On November 5, 2011, in LAMP, by Sandeep Verma

Hits: 567  

PHP Shell is a shell wrapped in a PHP script. It’s a tool you can use to execute arbitrary shell-commands or browse the filesystem on your remote webserver. This replaces, to a degree, a normal telnet connection, and to a lesser degree a SSH connection.

A convenient interface to execute shell-commands or browse the filesystem on your remote web server. Similar to a telnet or SSH connection. Use it for administration and maintenance of your web site using commands like ps, cat, gunzip, and more.

Safe Mode is the nemisis of PHP Shell. If PHP is running in Safe Mode then PHP Shell will normally not work. So, PHP Shell will work with safe_mode = Off

XAMPP 1.7.3

Login Screen
phpshell1

PHP Terminal
phpshellhome

phpshell.php: This is the script you run when you use PHP Shell.

config.php: Configuration file in the INI format.

phpshell

pwhash.php: Password hashing script. This is used to generate secure hashed passwords which you should use to prevent others from getting to know your password by reading the config.php file.



Tagged with:  
  • Anonymous

    Great Post,
    I was looking for such tool to run SSH commands specially SVN commands.

    Thanks Sandeep Ji.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...