I wanted to change the color of the command prompt
[xxx@xxx]$
from white on black background to light green on black background during a SSH session in MobaXTerm. I tried changing the color scheme in session>edit session>terminal but this command prompt color does not change.
-
Possible duplicate of How to set the command prompt's color in Bash?– tripleeeAug 1, 2019 at 3:28
1 Answer
The software which draws the prompt on the server where you are connecting to with SSH needs to be configured to print color codes. If the remote shell is Bash, try e.g. http://ezprompt.net/