Mac ssh LC_CTYPE Warning

When using my MacBook Air to ssh to my linux servers i get the error:

-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

To get rid of this warning, run

sudo vi /etc/ssh/ssh_config

and comment out the line

# SendEnv LANG LC_*

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.