Xshell is a secure terminal emulation software that allows remote logins. The main purpose of my use of Xshell is to log in to the Linux terminal in a Windows environment for encoding, which is very convenient. This article briefly describes how it is used.
1. After downloading, select the Personal/school free version at the time of installation.
2. Install the SSH service under the Ubuntu host you want to connect, if you do not need to install Openssh-server:
sudo apt-get install Openssh-server
Using Ps-e | grep ssh, requires/etc/init.d/ssh start if only ssh-agent indicates that it has not started, and the sshd instructions have been started.
3. Open Xshell, select "New", "Connection" settings, select SSH, host fill in the IP address of the host to be connected.
In user authentication, fill in the available user name and password to sign in to Ubuntu.
After setting up these two steps, you can use Xshell to control the Ubuntu host.
4. How to solve the Chinese garbled language:
On the premise that Ubuntu supports Chinese (that is, you can display Chinese directly using Ubuntu), select "Terminal" in the "properties" of the "File" menu, "encode" select "UTF-8", and tick "Korean and Japanese language with indeterminate character processing as wide character" and reconnect. There is a solution, but I have not tried (http://blog.sina.com.cn/s/blog_65d642220100kjqi.html):
[Email protected] ~]# cd/etc/sysconfig/
[email protected] sysconfig]# CP i18n I18n.bak #备份i18n文件
[Email protected] sysconfig]# echo "" >i18n
[Email protected] sysconfig]# VI i18n #加入以下内容
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"
Xshell Connect Ubuntu