Solution for SSH Secure Shell client Chinese garbled

Source: Internet
Author: User
Tags ssh secure shell

Reason
The GB2312 encoding used by Windows, most Linux systems support UTF-8 encoding, while remote login uses local encoding.
Scenario One: Modify the files in the Linux host

vi/etc/sysconfig/i18n


The original content is:

Lang= "ZH_CN. UTF-8 "


Modified to:

  Lang= "ZH_CN. GB18030 "  language=" ZH_CN. Gb18030:zh_cn. GB2312:ZH_CN "  supported=" ZH_CN. GB18030:zh_CN:zh:en_US. Utf-8:en_us:en "   sysfont=" Lat0-sun16 "


Scenario Two: Use other remote login software
Xshell or putty, modify the configuration to change the character set to UTF-8

Secure CRT: On client, option---session options---appearance--character encoding, select UTF-8
Putty



Reconnect again, Chinese in the Ssh,telnet terminal can be displayed normally.

Article Source: http://www.flybi.net/question/2314

Solution for SSH Secure Shell client Chinese garbled

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.