MacOs -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory时间:2023-03-09 14:17:44 1解决iterm远程登录主机报错 -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory 2 更改Mac本机的ssh_config,而不是更改服务器的 sudo vi /etc/ssh/ssh_config 注释掉 SendEnv LANG LC_* 3 重新登陆远程主机,解决