There are several remote (ajax) shells, which emulate a shell and forward the commands to to the real shell on the server via HTTP(S):
- http://antony.lesuisse.org/software/ajaxterm/
- http://www.squarefree.com/shell/shell.html
- http://en.wikipedia.org/wiki/Web-based_SSH