linux ssh中文显示正常,但是在查询service sshd status时候出现中文提示乱码
ssh支持中文,但是在查询service sshd status时候出现乱码
很明显支持中文的。
问题解决:[root@localhost ~]# localeLANG=zh_CN.UTF-8LC_CTYPE="zh_CN.UTF-8"LC_NUMERIC="zh_CN.UTF-8"LC_TIME="zh_CN.UTF-8"LC_COLLATE="zh_CN.UTF-8"LC_MONETARY="zh_CN.UTF-8"LC_MESSAGES="zh_CN.UTF-8"LC_PAPER="zh_CN.UTF-8"LC_NAME="zh_CN.UTF-8"LC_ADDRESS="zh_CN.UTF-8"LC_TELEPHONE="zh_CN.UTF-8"LC_MEASUREMENT="zh_CN.UTF-8"LC_IDENTIFICATION="zh_CN.UTF-8"LC_ALL=[root@localhost ~]# date2011年 09月 29日 星期四 16:05:42 CST[root@localhost ~]# service sshd statusopenssh-daemon (pid 2589) 正在运行...[root@localhost ~]#