Is it possible to automatically change the color of the terminal based on which server I am connected to through SSH?
For instance, when I fire up the terminal it has the standard colors defined under my profile. Then I ssh to ssh.example.com and the color changes to black & green instead. Then I exit the session and the color returns to the standard color theme.
I know that you could do this manually. But I'm looking for an automated way.