Colors are different when SSHing onto a Linux machine from iTerm2. How can I standardize them?
The VIM part of this question was answered here.

Turns out my local session had background set to dark in VIM, and my remote session had background set to light. I just added the line set background=dark in my .vimrc and the colors now look identical.