ssh登陆提示LC_CTYPE错误

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

解决方法:

  1. 打开或者新建文件
/etc/environment
1

加入下面两行:

LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
1
2
最近更新: 12/9/2018, 10:09:30 PM