recently began to study Linux, but also used before, but with the company bought Cloud server, now began to install their own virtual machine in the way Linux, as a learning. In the course of the process encountered some problems, summed up, but also on the Internet to see some of the ideas of others, and now share to everyone. Version: Ubuntu 16.40LTS website can download download address for Http://101.96.10.73/releases.ubuntu.com/16.04/ubuntu-16.04-desktop-amd64.iso
The following are the problems encountered and the solutions available:
1. Display Connection failed with Xshell connection. Workaround: 1 Ubuntu does not install the OpenSSH server by default, so to use SSH to telnet to the Ubuntu host, you first need to install the SSH server.
First, determine if Ubuntu has an SSH service installed:
1, Input: Ps-ef | grep SSH If the service is started, you can see "sshd", otherwise there is no service installed, or no boot started
2, install SSH service, input command: sudo apt-get install Openssh-server
3, start the service:/etc/init.d/ssh start
4, the native test is able to successfully log in: Ssh-l user name native IP 2) may be due to the lack of open 22 ports, or firewall blocking. Open 22-Port sudo UFW allow 22 disable firewall sudo UFW disabled
2.xshell connect Ubuntu tool error "No matching OU if development port is not available tgoing encryption algorithm found "
Workaround: This is due to the Linux version of the encryption method, Xshell can not decrypt, so you need to select Xshell file >> Properties Select SSH Security to set the encryption MAC and key exchange inside the following
Note: If you do not have the above option to show that your Xshell version is too low, you can switch to a high version and then check the above, can be.
3. Running the software is an error "error:you must be root to run this script"
Workaround: This problem is because running this program requires root permissions to execute, so you can switch users sudo su switches back to the user account by Su user