Is there a browser based interface for running command line on your host?

2

1

I know I can manually run it through PHP's exec() command but I was hoping if there was a ready to download and deploy PHP-based system that could act as a bridge and terminal and you can run commands on it like you were in the terminal itself.

radj

Posted 2013-02-10T14:48:10.037

Reputation: 160

I did try searching but I always get the reverse, running PHP via command line. What I need is running command line via PHP. Sad for the downvote :( – radj – 2013-02-10T14:50:26.510

The right terms to search were probably PHP and shell, not command line. Found http://sourceforge.net/directory/terminals/virtual/language:php/os:windows/

– radj – 2013-02-10T15:04:23.257

Why do you want to do this? Why not connect via, say, ssh? – vonbrand – 2013-02-10T15:09:36.227

Paid web hosting provider disabled SSH and only provides it for the more expensive business plan :( – radj – 2013-02-10T15:29:32.060

Answers

3

Try PHPShell. I tried it and it works great. Although it can't use vim or any program that requires user input in the middle of execution but that's enough for me.

radj

Posted 2013-02-10T14:48:10.037

Reputation: 160

1

Kloxo has a command line interface, you can use it

check ssh.serverdo.in, and serfish, i used those in the past, or you can just google "online ssh client".

PS: I don't think you can find a php script that acts like a terminal, i think you should go for java.

Lynob

Posted 2013-02-10T14:48:10.037

Reputation: 3 254

Unfortunately, I can't run Kloxo, it requires root access. – radj – 2013-02-10T15:39:22.507

@radj please read my edit – Lynob – 2013-02-10T17:16:50.110

I found PHPShell http://phpshell.sourceforge.net/

– radj – 2013-02-11T10:23:59.217

@radj sir,you stated that "Paid web hosting provider disabled SSH and only provides it for the more expensive business plan ", may i ask you what – Lynob – 2013-02-11T12:16:22.283

I'm on iFastNet's premium hosting. The business hosting is on the next tab.

– radj – 2013-02-11T12:18:51.513

@radj you can go for justhost, very cheap with ssh, just validate your purchase and enable ssh justhost.com or hostgator.com are very cheap and reliable, they offer ssh, many companies offer ssh, for example i have a vps with pacifichost.com but they seem to have ssh with the shared hosing plan

– Lynob – 2013-02-11T12:31:05.487

Wow. Thanks for these! Cheaper and with R/RoR, too! I've been with this host for 5 years and the dependence on SSH just started this year. – radj – 2013-02-12T01:42:16.650