Cannot set LC_CTYPE to default locale: Solution!

Sometimes while I setup new server I have following errors:

And I have simple solution to fix this issue!

After last command select UTF-8 as default.
Then  export LC_ALL="en_US.UTF-8"  then edit  /etc/ssh/ssh_config and comment out SendEnv LANG LC_*  line.
That’s all! Enjoy!

Leave a comment

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.