Using putty in windows, you can save sessions that connect to a certain host and use a certain text color…this was super useful for me since I work with a bunch of remote hosts and I’m wondering if there is (there must be) a way to get Terminal (in Snow Leopard) to emulate this behavior.
I’m wondering how I would
1. Save a connection (e.g. username@hostname.com) and have that connection always open with a certain text color (e.g. #00ff00)
2. Ideally, have any terminal window detect what host it was in and change its color accordingly. So if I was in my regular Terminal environment and issued a successful ssh username@hostname.com, it would automatically change the text color of that terminal window (or tab) to #00ff00
Let me know, thanks!
In terminal you can define profiles with different window background color, opacity, etc. Also in profiles you can specify a startup command. You could set up a different profile for each host you use with a startup command of “ssh me@thathost”, but this would only work for new windows. Profiles are easy to get to via Shell -> New Window.