How to install the CentOS operating system in a VirtualBox virtual machine how to connect remotely with a local Xshell

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.