Focus on cloud service provider activities
Notes on website operation and maintenance

Solve the problem of garbled code on the command line of PUTTY login server

When we use the PuTTY SSH remote server to process commands, we also encounter the problem of garbled codes in operation commands, which may be caused by one of the following reasons:

1. Character set mismatch

Make sure that the character set settings of PuTTY and the remote server are the same. You can find the character set option in PuTTY's session configuration and set it to the same character set as the remote server.

2. Remote server character set is not supported

If the character set used by the remote server is not supported by PuTTY, garbled code may occur. Try changing the character set setting of PuTTY to UTF-8 or ISO-8859-1 (if supported by the remote server).

3. Incorrect terminal type

Try changing the terminal type in PuTTY session configuration. If the remote server you are connecting to is a Linux/Unix system, set the terminal type to "xterm".

4. SSH configuration problem

If there is garbled code when using SSH connection, please ensure that the PuTTY encryption settings are correct and the compression option is not enabled.

5. Local character set setting problem

If your computer's local character set is set incorrectly, garbled code may occur. Please ensure that your computer's local character set is set correctly.

6. Remote server language environment problem

If the remote server locale is set incorrectly, garbled code may occur. We can check and set the server image.

The above are several common solutions to the PuTTY garbled code problem.

Like( zero )
Do not reprint without permission: Lao Zuo's Notes » Solve the problem of garbled code on the command line of PUTTY login server


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge