FG

"Reset" colors of terminal after ssh exit/logout

Fresh3 days ago
Mar 15, 202635872 views
Confidence Score0%
0%

Problem

When I ssh into a remote server, I like the colors of the terminal to change. I use on my remote ~/.bashrc file to get this done. However, when I , the terminal colors are not reset to the local ones. I solved the problem, but I am not sure if it is the best solution. This is what I could come up w…

Error Output

echo -e "\033[0m"
/usr/bin/clear

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: "Reset" colors of terminal after ssh exit/logout

Low Risk

Better: is normally the equivalent of The difference is that using tput will adapt if the terminal type is other than ANSI - and it has been set up properly. for more codes to use. In there you will find 'reset' so should work. (The TEST prints shou…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment