Using gnome-terminal I connect to my servers at work using SSH from Ubuntu 18.04 or 22.04. These work servers can be Sparc Solaris or Linux (Fedora).
When I connect to the Solaris servers from my local terminal, commands like ls
are not colorized. So, I have setup aliases like ls --color=auto
. After that the colors are exactly the same as my terminal before SSH.
When I connect to the Fedora Linux servers from my local terminal on the other hand, they are already colorized. I.e.: for commands like ls
there is already an alias ls --color=auto
setup. But the color is much darker than my terminal before SSH.
When I connect to my own server running Ubuntu 18.04 from my own terminal they are also colorized, and the colors are the same as in the Ubuntu I connect from.
Now interestingly, when I connect to the Solaris server from the Linux Fedora server the colors are also dark but a different dark.
Colors in my terminal (Ubuntu 18.04) before SSH. In Solaris SSH session. And in Ubuntu 18.04 SSH session:
Colors in Linux Fedora SSH session:
Solars SSH session from Fedora Linux SSH session:
Where is the connection to Linux Fedora taking the colors from? And what about the connection to Solaris?
PS: Because I set it myself the colors in the prompt (PS1) are the same in all connections.