Transferred from: https://www.linuxidc.com/Linux/2017-08/146222.htm
Xshell is a secure terminal emulation software that allows remote logins. The main purpose of my use of Xshell is to log into the Linux terminal in a Windows environment and transfer some large files to the Linux environment.
1, download installs the Xshell client, can choose the Personal/School Free edition when installs, this does not need to pay.
2, after the installation is complete, if you connect directly to the Ubuntu host will find that the connection is not, this is because the Ubuntu host does not open the SSH service, need to open openssh-server:
[Email protected]:~# sudo apt-get install Openssh-server
Use
[Email protected]:~# ps-e | grep ssh
If only ssh-agent indicates that it is not started, you need to
[Email protected]:~#/etc/init.d/ssh Start
If the sshd is displayed, it indicates that it has started successfully.
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.
Note: If you confirm that you entered the user name and password is not a problem, but login or display the following circumstances, the refusal of your input password:
You need to edit the/etc/ssh/sshd_config file:
Change Permitrootlogin to Yes:
Switch
Then restart the ssh-server to:
[Email protected]:~# sudo/etc/init.d/ssh Restart
If not, restart the virtual machine and you should be able to connect later.
Xshell Connection CentOS 7.2 Display Chinese garbled problem solution http://www.linuxidc.com/Linux/2017-03/141385.htm
Xshell Change method After auto-save user name http://www.linuxidc.com/Linux/2017-04/143030.htm
Xshell 5 How to connect a local virtual machine http://www.linuxidc.com/Linux/2016-08/134087.htm
Xshell upload files locally to Ubuntu and download files from Ubuntu to local http://www.linuxidc.com/Linux/2017-06/145191.htm
VMware under Ubuntu virtual machine NAT mode connection Xshell http://www.linuxidc.com/Linux/2016-09/135366.htm
Xshell5 connecting the Ubuntu http://www.linuxidc.com/Linux/2016-08/134086.htm in VirtualBox virtual machines
Xshell Connect local VirtualBox Ubuntu http://www.linuxidc.com/Linux/2017-04/142445.htm
Log on to the Linux server using Xshell key authentication http://www.linuxidc.com/Linux/2017-06/144405.htm
Xshell connection to Ubuntu failure issue