setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
本地使用的语言环境和远端不支持造成。
- terminal 中取消勾选:‘Set locale environment variables on startup’
- ssh 配置文件中注释:SendEnv LANG LC_*
- Install required locale on the remote server
# localedef -i en_US -f UTF-8 en_US.UTF-8 # ?