Lately I'm working a lot with a few open ssh connections to multiple VPS servers. The hostnames of the servers all follow an ID approach and it's becoming very difficult to know on what machine I'm working with.
I was wondering if there is a way to put a name I define somewhere as the title of the terminal. So I would, for example, associate IP 188.8.131.52 with webserver-stg. When opening the connection to the IP, webserver-stg would automaticaly be displayed as the name of the session. Of course I'm not able to change code on the VPS servers, so the solution should be client-side.
Edit: I'm working with terminal.app on OSX 10.6