I am looking for robust open source PHP code for do telnet/ssh to remote machines/devices. The frontend could be quite sample html or ajax, and the code should not use any OS command line utilities but be rather integrated into PHP. We suppose to run it on shared hosted machines. Will appreciate any help on this.
I haven't found a shared host that will let you do this yet. One of the problems I've encountered is keeping the connection open. Every time the current page is done executing, the connection is terminated and you have to start all over from the login.
I know it has to do with threading and depends on your machine/configuration. The best I've seen yet (for a web interface) is http://www.flashterm.com/ - but it's not PHP.