Forced to use a web host that doesn't offer shell access? Need to do some command-line stuff like unzipping, recursively cloning directories or rsyncing from a remote host?
If so, you may find phpajaxshell useful.
- Command and filename auto-completion
- History support
- Streamed output
- Simple interface
You need to do a tiny bit of setting up before you can use phpajaxshell.
- Download the zip and unzip it somewhere.
- Generate a hash of your chosen password using the included
config.phpto add your username and hashed password
- Upload the whole directory to your web host
- Access the directory on the remote host with your web browser.
phpajaxshell just takes what you enter and passes it to the server to execute. You can't use interactive programs like vi, as they require real terminal emulation.
The password hashing code uses Blowfish, so that must be installed on the remote server (and the local machine if you use that to run
password_hash.php). You should not have a problem with the vast majority of web hosts.
It's not a great idea to leave software like this installed on a public-facing server. Once you've done what you need to do, I recommend deleting the
phpajaxshell directory from the server. There is no protection against an attacker brute-forcing the password.
PHPTerm - No command or file completion. No output streaming. Generates many warnings.
PHPShell - The grandaddy. Not AJAX. No completion or streaming.
End-user license agreement
You agree not use this software for evil purposes.
Licensed under the BSD 3-clause licence. © Copyright Chris How, 2012.