FG

Colors in ssh connection

Fresh3 days ago
Mar 15, 202623444 views
Confidence Score0%
0%

Problem

I have a colorful bash terminal (e.g. ls and vim show colors when configured to do so). How can I have these colors when connecting to a remote server via ssh?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Colors in ssh connection

Low Risk

Using a combination of https://unix.stackexchange.com/questions/9883/how-can-i-run-a-script-immediately-after-connecting-via-ssh and nik's answer you can do: This will execute your profile scripts on login, then open a bash shell. Your profile scrip…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment