Problem:
How can we use Xsell to connect to CentOS in a virtual machine after VirtualBox has installed the CentOS operating system?
Answer:
(1) Under Windows, use Cmd--ipconfig to view VirtualBox host-only Network to find IPV4 address: 192.168.56.1[is generally this]
(2) Under the Xubuntu terminal--ifconfig view eth0 inet addr:10.0.2.15[is also generally this]
(3) on the menu in VirtualBox, locate the control--settings--Network and enter port forwarding settings:
Click the button on the right to add a new rule
The name can be defaulted, the protocol uses TCP, the host ip:192.168.56.1, the port is generally: 22, subsystem ip:10.0.2.15, subsystem port is also: 22
After setting up, we implement remote connection:
Running Linux in a virtual machine
Run Xshell, create a new session, then select the SSH protocol, set the host address: 192.168.56.1, the port number is: 22. Establish a connection
Use Linux to set a good user name and password to achieve a text format remote login?
This enables the use of Xshell remote connection to the Virutalbox virtual machine Linux. (but only if Linux supports SSH protocol support)
How to install the CentOS operating system in a VirtualBox virtual machine how to connect remotely with a local Xshell