CentOS switch language to open SSH

Source: Internet
Author: User

Centos:

Yum Install SSH installation ssh

Service sshd start SSH

Chkconfig sshd on set boot run

Setting Language:

The CentOS default language encoding is "ZH_CN." UTF-8 ", this in the X-window desktop environment of the" terminal "window operation is able to correctly display Chinese characters, but if it is through SSH or telnet, such as remote management, you will find all the characters have become garbled.

1>: To solve this problem, edit the file/etc/sysconfig/i18n, the 1th sentence "lang=" ZH_CN. UTF-8 "" Changed to "lang=" ZH_CN.   GB18030 "" Can. Centos7 is under the/etc/locale.conf?

2> After completion, re-login, found that all Chinese characters have been able to display the normal, change back to English:

Lang= "en_US. UTF-8 "
Sysfont= "Latarcyrheb-sun16" "

CentOS switch language to open SSH

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.