Ubuntu: Ubuntu 14.04 - install color scheme for ssh client terminal



Question:

I have already set force_color_prompt=yes in ~/.bashrc Then I connect to ubuntu server 14.04 with ssh, there is still no color. Why?

And what is the right way to set Ubuntu ssh color scheme via ssh command prompt? I tried .Xresourceand .Xdefault, but they didn't work.


Solution:1

Your .bashrc file is not sourced when you log in via ssh. You can load your .bashrc using the following command

source ~/.bashrc  

See also this answer from Ayman Hourieh for a more permanent fix.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »