Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSH terminal using JS, HTML5 and PHP

I'm looking for a solution like GateOne that i could install on a server which support PHP for which i have no ssh connection. It also support Python but i can't execute anything on it without an actual SSH access. That mean it would have to work just by dropping it into a folder.

I've seen JavaScript (or JS+PHP) Terminal Client but the solutions seem outdated.

For example i'd like to be able to execute a simple ln -s ./dir1 ./dir2 to create a symbolic link.

like image 514
Crystark Avatar asked Mar 29 '13 13:03

Crystark


3 Answers

I think you don't actually want SSH. Maybe you should try a simple php shell like http://phpshell.sourceforge.net/ if you really just want to run non-interactive commands?

like image 138
thejh Avatar answered Nov 17 '22 04:11

thejh


I finally found out that codiad which i now use has a terminal way better than phpshell. I went for that solution. It allows to manage web projects too but i think it's the most advanced terminal currently available that doesn't need any installation through command line.

like image 20
Crystark Avatar answered Nov 17 '22 04:11

Crystark


I wrote a php ssh client that use php and xterm, you can take the source code on the github page https://github.com/roke22/PHP-SSH2-Web-Client

Please send some feedback too.

I hope that help you.

like image 1
Roke Avatar answered Nov 17 '22 06:11

Roke