Visually Distinguish Remote ssh Sessions
When administering resources it's often convenient to use the command-line. For security it's necessary to use an encrypted mechanism - almost always ssh . However, since once connected, one terminal window looks much like another, there's a significant risk that a command intended to be run on one server gets run on the wrong one! How can you protect against this and still work efficiently? One way is to have each ssh session clearly, probably visually different from each other. This can be automated in Unix based systems. Use xtermcontrol There are various ways to control aspects of your terminal session. Simply printing to the terminal various escape codes can change many aspects of the terminal - including color, but also title and so on. However, to conveniently and specifically make fine-grained changes, xtermcontrol is very effective and available across many platforms. It is preferable to setterm because it gives m...