Screen
http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/
The screen
package is part of Ubuntu.
To use it, log into a remote server with ssh and then type screen
. This is just another terminal window running in the same SSH session.