Can I change the color of my Mac OS X Terminal window depending on which server I am ssh-ed to? I'd like to have the background as black for server 'foo' but have the background be say gray  or blue for server 'bar'.

I am worried I'll run the wrong command on the wrong ec2 instance because all the pwds are /home/ubuntu! How is everyone else solving this?
you can use a script to connect to your servers, which also changes the bg color of your terminal before it connects.

http://www.macosxhints.ch/index.php?page=2&amp;hintid=1001