From Wiki

Jump to: navigation, search



  • Anyterm provides a web interface to ssh.
  • Debian Testing (etch) is Required!!!!!
  • A significant amount of memory (+128mb) is required for compiling
  • Compiling can be messy as there are several libraries required

Get Anyterm


apt-get install bzip2
bzip2 -d anyterm-1.1.15.tbz2
tar -xf anyterm-1.1.15.tar

Install Pre-Requesites

Following the Instructions on

tar -xzf rote-0.2.8.tar.gz

And various pre-requesites, plus compiler:

apt-get install g++
apt-get install libncurses5-dev
apt-get install apache2-threaded-dev
apt-get install libboost-thread1.33.1 libboost-thread-dev libboost-dev
//The latest versions in debian testing are required.
//Maybe, libncursesw5 and make also.

Install ROTE

cd rote...
make install

Install Anyterm

cd anyterm....
cd apache...
make install

It *should* compile with no errors. "make install" wont work if it goes wrong.

vi /etc/apache2/mods-available/anyterm.load
//add in this line:
LoadModule anyterm /usr/lib/apache2/modules/

Copy the "browser" files from the untarred directory to /var/www/anyterm or /srv/anyterm. There should be a .htaccess file already in this browser folder. Edit it and place something similar to:

anyterm_command '/usr/bin/ssh -q'
// %u is the apache authenticated user.

Other useful additions to this htaccess file are:

DirectoryIndex anyterm.html
AuthUserFile /location/to/.htpasswd
AuthName EnterPassword
AuthType Basic
require valid-user

Either use a htaccess/htpasswd user for a single login or study imap auth_pam

The Problem and Latest Version Working

Of course the latest Anyterm didnt want to work with my apache and setup. It was giving errors such as:

[Tue Sep 12 17:49:04 2006] [notice] child pid 26342 exit signal Illegal instruction (4)
[Tue Sep 12 17:49:04 2006] [notice] child pid 26342 exit signal Illegal instruction (11)

When I went back through the version - they didnt want to compile without more work.

Version "1.1.8 2005-12-28 anyterm-1.1.8.tbz2 (75k)" worked out of the box, perfectly. It was a case of wget'ing it, unzip, untar and make, followed by make-install.

Personal tools