A: Using X-shell to connect Ubuntu has not been connected, a solution.
Second: The specific solution process
1. Network
Since the remote Ubuntu system, then the first two networks are not in a network segment, can ping the pass?
A) on Windows PC--cmd Open Command window, type: ipconfig command, view host IP.
b) Ubuntu system, CTRL + ALT + F1 Open command terminal, type ifconfig command, view Ubuntu Internet IP.
c) Then in the Ubuntu system terminal type: Ping +windows Internet IP, check whether the ping pass, not check the network situation, and whether in a network segment, ping in the next step
d) In the Windows command window, type: Ping +ubuntu Internet IP, check whether the ping is on, not check the network, and whether it is in a network segment, ping in the next step
2. SSH Service
Since it is through the sshserver to remote, then when the network unblocked to solve is about the Ubuntu system ssh problem.
A) Check to see if the SSH service is installed
In the Ubuntu Terminal Command interface type:
SSH localhost
If the following prompt appears, it is not installed:
Ssh:connect to Hostlocalhost Port 22:connection refused
b) Installing the SSH service
If you see no sshserver installed through the previous steps, type the following command to install:
sudo apt-getinstall–y openssh-server
c) Start SSH after installation is complete
Service SSH Start
d) You can use the command after the boot is complete: ps–e | grep ssh to view the SSH status, or view the port number.
6455? 00:00:00 sshd
Indicates that the startup was successful.
SSH connection to Ubuntu