Written by Kai Dietrich
|
Wednesday, 07 March 2007 |
I recently came across a situation where I needed to connect to my home computer via SSH but was behind a firewall which only allowed HTTP(S). Well, I couldn't do much against that until I was home again and found some time to research the topic. The solution for this problem are web-based terminals. These don't provide the full SSH functionality but you can login and use the shell. The best one I found was Ajaxterm which is an improved Anyterm clone. Ajaxterm is pretty easy to install. It's written in Python and doesn't need anything else then that. When you start Ajaxterm, it listens on some high port for incoming HTTP requests from localhost, which is a good idea. To protect this remote web console, it's a good idea to add password protection via a Apache reverse proxy to it. I'm still looking for a solution to restrict access to the proxy path to HTTPS connections, somehow the gentoo modularized apache2 config gives me some weired behaviour which I presumdly just don't understand yet. But Ajaxterm is a neat solution for anyone looking for a web based terminal.
|