I am attempting to keep a nested ssh session inside of a byobu/screen window, which I also connect to over SSH with Putty on Windows.
However the nested SSH session has no color. Here's what I'm talking about:
On the left you have byobu connected to wreckcreations
with no color. On the right you have Putty connected directly to wreckcreations
with color. Note that normally byobu has color when working locally.
I tried messing with $TERM
, $PSI
, and other variables to no avail. Any idea's what would cause this?
Best Answer
It could be many things.
Please provide the output of:
Expected results:
My guess:
TERM
is set to something unusual, and dircolors doesn't know about it, thereforels
doesn't know what colors to use.If this is the case, running the above commands inside your byobu/screen session, you would see:
Confirm that this is the case by running:
I would expect it to print nothing.
The simplest fix, depending on your configuration, would be: