ssh color for user ubuntu

Discussion in 'HOWTO-Related Questions' started by jbonlinea, Nov 22, 2016.

  1. jbonlinea

    jbonlinea Member

    Dear all,

    as a root, my ssh terminal displays colors, but not as any of my others users (ssh users created with ispconfig), but I would like to have colors for all my users.
    I took my chance to do it by myself from various post and tuto but I'm stuck.

    - I tried to edit the
    Code:
    /usr/share/byobu/profiles/bashrc
    file by adding
    Code:
    force_color_prompt=yes
    in various place
    - I tried to copy the previous bashrc file in my home folder as there were none
    but it didin't work

    - I looked for the a file or folder
    Code:
    DIR_COLOR
    but couldn't find it
    but couldn't find it

    - I've seen I could use dconf or gconftool to define my colors
    but I want to use the same one as root, they are just fine, or any other set of color, I would prefer something consistent rather than random and confusing choice made by myself

    - I've tried to use
    Code:
    ls --color=always
    it indeed display the result in color, but only once...


    any help?

    thank's in advance guys

    ps my config :
    ubuntu server 16.04
    ssh client created with ispconfig
    terminal used : terminal app in mac os x, and coda

    ps 2 : I've logged out and in between every change...
     
    Last edited: Nov 22, 2016
  2. sjau

    sjau Local Meanie Moderator

    I have this in my .bashrc on my debian server:
    Code:
    export LS_OPTIONS='--human --color=always'
    
     

Share This Page