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.
Using this, you can ssh and telnet from php. http://php.net/manual/en/book.ssh2.php You must install the PECL ssh2 library in order to use it: http://pecl.php.net/package/ssh2 There's quite a few tutorials on how to install it. I've got it running on several cpanel servers, and other custom builds. It's fairly straight forward to install.