转载自: ssh warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.UTF-8)
【问题描述】
阿里云ECS服务器上,使用ssh、scp等命令时,按tab键提示错误
ssh rexel-bash: warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.UTF-8)
【解决办法】
在/etc/profile的最后一行加上下面这行之后,问题解决。
export LC_ALL=C