Skip to main content

Command Palette

Search for a command to run...

warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_MESSAGES = "en_US.UTF-8"

Published
1 min read

If you login to a vps through ssh and always get warning like me

warning: Please check that your locale settings:   
        LANGUAGE = "en_US:en",   
        LC_ALL = (unset),   
        LC_MESSAGES = "en_US.UTF-8",   
        LANG = "en_US.UTF-8"   
    are supported and installed on your system

That maybe not a env issue, probably you should edit ssh config:

vim /etc/ssh/ssh_config

Then comment out this line

SendEnv LANG LC_*

# to

# SendEnv LANG LC_*

Puff.

162 views