最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - SSH terminal using JS, HTML5 and PHP - Stack Overflow

programmeradmin0浏览0评论

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.

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.

Share Improve this question edited May 23, 2017 at 12:07 CommunityBot 11 silver badge asked Mar 29, 2013 at 13:50 CrystarkCrystark 4,2167 gold badges46 silver badges63 bronze badges 2
  • 2 Why not just use a host that provides SSH? – ceejayoz Commented Mar 29, 2013 at 13:51
  • @ceejayoz Because i've already paid a whole year at a host that doesn't provide SSH in their basic offer =) – Crystark Commented Mar 30, 2013 at 0:32
Add a comment  | 

3 Answers 3

Reset to default 6

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?

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.

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.

发布评论

评论列表(0)

  1. 暂无评论