tencent cloud

iTerm Client Displaying Unrecognizable Characters to Mac Users During Ops
Last updated:2025-04-18 11:17:41
iTerm Client Displaying Unrecognizable Characters to Mac Users During Ops
Last updated: 2025-04-18 11:17:41

Phenomenon Description

When a Mac system uses the iTerm client to access a Linux server, Chinese characters appear garbled, as shown below:


Possible Causes

An issue with the SSH configuration file on the Mac system.

Solutions

Modify the ssh_config file on the Mac system.

Directions

1. Open the terminal on the Mac system and enter the command: vi /etc/ssh/ssh_config.
2. Modify the configuration at SendEnv LANG to SendEnv LANG LC_* .

3. Close the iTerm client, use the BH to access the target device again, and check whether the garbled text issue has been resolved.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback