Remote connection to Ubuntu with SecureCRT and garbled Chinese characters
Source: Internet
Author: User
When SecureCRT is used to remotely connect to Ubuntu and garbled Chinese characters, remote access is denied when SecureCRT is used to connect to Ubuntu. After a thorough study, we can see that there is no SSH on Ubuntu. The connection process is as follows: 1. First, you must understand what SSH can be considered as an enhanced version of telnet, t remote connection to Ubuntu using SecureCRT and garbled Chinese characters when SecureCRT is used to connect to Ubuntu, remote access is denied. after a review, I learned that there is no SSH on Ubuntu. The connection process is as follows: 1. first, you need to understand what SSH can regard SSH as an enhanced version of telnet. telnet passwords and information are not encrypted, while SSH is encrypted. install the SSH function on Ubuntu. after installation, sudo apt-get install openssh-server openssh-client is automatically enabled. install SecureCRT 4. view the ip address ifconfig (ifconfig, not ipconfig) of Ubuntu 5. connect to SecureCRT --> Quick Connect, Connect to Ubuntu, and enter the Ubuntu id and pwd. note: If the connection fails, it may be that the SSH service on Ubuntu does not start ssh-server: $/etc/init. d/ssh restart check that ssh-server is working properly: $ netstat-tlp tcp 0 0 *: ssh *: * LISTEN One line of output indicates that the ssh-server is running. note: you may still be unable to Connect to the server at this time. the following prompt is displayed when you use SecureCRT --> Quick Connect to Connect: if so, you can query other network resources to solve this problem. note: log on to the server through ssh on the client. assume that the IP address of the server is 192.168.0.103, and the user name for logon is hyx $ ssh-l hyx 192.168.0.103 6. the Chinese character garbled problem is successfully resolved, and the SecureCRT displays garbled characters. Baidu or Google indicates that the default SSH encoding of Ubuntu is UTF-8, while the default display encoding of SecureCRT does not seem to be UTF-8, you only need to change the display encoding of SecureCRT to UTF-8, and the display can be correctly displayed in SecureCRT. select option --> session option --> apperance to change the character encoding to UTF-8.
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