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?
Read the dircolors.sh subsection from "Beyond Linux From Scratch" book:
Using a combination of http://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 scripts are where the colors are defined.
Or, for maximum convenience, add the following to your