View Full Version : [ubuntu] Change shell background color on ssh

January 12th, 2010, 05:56 PM
Does anyone know of a way to change the background color of the the Gnome terminal when I log into a remote host with ssh? I have a few tabs open and I forget that some are ssh logins.

January 12th, 2010, 06:03 PM
Is "screen" any help? Try man screen to see if you have it installed. Good luck.

January 12th, 2010, 06:18 PM
I usually just set a different color prompt for my remote hosts, I'm not sure gnome-terminal can change profiles automatically if you are logged in elswhere. That said, you can make a profile you want to use (Edit->Profiles) for remote sessions, and just switch to it manually when you start a remote session in a terminal. There's probably a keyboard shortcut to switch profiles (or you could make one)

January 12th, 2010, 06:27 PM
try modifying your .bashrc file on the server to change the color. I can't help you on the syntax as I don't know myself. Try googling for some already made files.

January 12th, 2010, 07:11 PM
I made a ssh profile and then I just manually change it. Probably can set a hotkey to change it.


November 1st, 2010, 10:09 PM
I had a similar problem. Just not to write the same thing twice, I'm posting the link to my reply in another thread: http://ubuntuforums.org/showthread.php?p=10058620#post10058620 (http://ubuntuforums.org/showthread.php?p=10058620#post10058620)