fixed
-
ssh to centos from mac
-
setup centos locale
$ sudo nano /etc/sysconfig/i18n LANG="zh_CN.UTF-8" SYSFONT="latarcyrheb-sun16" $ sudo reboot
-
setup macos
$ nano ~/.bash_profile export LC_ALL=zh_CN.UTF-8 export LANG=zh_CN.UTF-8
-
open new iterm2
$ ssh root@node # done
-