アーカイブ

Archive for 2016年8月

LC_CTYPE error when ssh from Mac to Linux


SSH from Mac to Linux:

macmini:~ congvc$ ssh dev
Last login: Fri Aug 12 16:29:17 2016 from 125.234.96.138
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
[20160814 18:35:26 ec2-user@dev:~ ] $ echo $LC_CTYPE
UTF-8
[20160814 18:39:27 ec2-user@dev:~ ] $ logout
Connection to dev.ace-ltd.net closed.
macmini:~ congvc$ sudo vim /etc/ssh/ssh_config

Comment out the following line:

# SendEnv LANG LC_*

then no more errors.

広告
カテゴリー:Uncategorized