Back to Articles

Web based telnet and ssh terminal with proxy

I needed a web terminal for accessing my board through a website. There are already a number of existing options but I decided to quickly implement a new light weight terminal I can adapt to my needs. It's posted to https://github.com/awehttam/terminalgateway and is now being used by binkterm-php to provide remote access to the BBS.

The implementation is fairly straight forward. I have a nodejs based proxy server that handles connections to the remote host via telnet or ssh. The server also provides a built in xtermjs terminal, and I've also written a standalone PHP xtermjs console that can be incorporated into third party projects.

For security reasons the proxy server limits connections to hosts configured in its list of remote servers.