AjaxTerm ubuntu (install)

I use SSH a lot. I use it for secure surfing at coffee shops (SSH secure browsing) This keeps people from watching / sniffing what I am doing on public wifi. I also use it to keep in contact with people (IRC) and access to files at home.

In some locations I am unable to get an SSH (port 22) connection out of a firewall. In these instances, I use ajaxterm . It is a web based terminal window.

I recently updated my linux box and had to re-install this wonderful tool. I followed the quick install (sudo apt-get install ajaxterm). After the quick install the app worked but did not run as I liked it. I wanted to run this under https.
I followed the guided install at https://help.ubuntu.com/community/AjaxTerm.

However I will add these instructions to complete the install. If you have not used ssl on your machine and follow the instructions above you may get “Invalid command ‘SSLEngine’, perhaps misspelled or defined by a module not included in the server “.

This is due to not having run “sudo a2enmod ssl” which adds the ssl module to apache.
I then ran into : “SSLCertificateFile: file ‘/etc/apache2/ssl/apache.pem’ does not exist”
To correct this issue I had to generate the default certificate for the machine.

Code:
sudo apt-get install ssl-cert
sudo mkdir /etc/apache2/ssl
sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem

After these simple steps, I am up and running on Ajaxterm over ssl. So I can quickly connect to my home machine from any web browser.

Leave a Comment