CentOS in VirtualBox via Xshell link

Source: Internet
Author: User

Remotely to a system installed in a virtual machine via the Xshell or secure CRT

      Virtual machine Network option settings, select host-only Adapter

      650) this.width=650; src= http://s3.51cto.com/wyfs02/M02/73/69/ Wkiom1x8znbaqllsaagrv52nyyu557.jpg "title=" qq picture 20150919104725.png "alt=" Wkiom1x8znbaqllsaagrv52nyyu557.jpg "/>

    1. Set local network

      650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M02/73/69/ Wkiom1x8ztsjas4vaamixujd7gq680.jpg "title=" qq picture 20150919105622.png "alt=" Wkiom1x8ztsjas4vaamixujd7gq680.jpg "/>

    2. Set the IP


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/67/wKioL1X80Wjw4X01AARksmXRd4c256.jpg "title=" QQ picture 20150919105746.png "alt=" Wkiol1x80wjw4x01aarksmxrd4c256.jpg "/>

4. Specify the IP in CentOS

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/73/69/wKiom1X8z3Dzi-1JAALW1Nwpso0708.jpg "title=" QQ picture 20150919105918.png "alt=" Wkiom1x8z3dzi-1jaalw1nwpso0708.jpg "/>

5. Edit the CentOS IP on the same network segment as the VirtualBox virtual network card IP in Windows

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/73/67/wKioL1X80mWj3e_HAAIXAKXtjy8913.jpg "title=" QQ picture 20150919110218.jpg "alt=" Wkiol1x80mwj3e_haaixakxtjy8913.jpg "/>

6. Ping the virtual machine on Windows to see if you can ping the

7. Use Xshell Connection, session mode select SSH, fill in the virtual host IP address

650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M02/73/67/wKioL1X80t-CkzbNAABLdIA_ Kpm830.jpg "title=" Connection succeeded "alt=" wkiol1x80t-ckzbnaabldia_kpm830.jpg "/>

8. The virtual machine NIC is set to NAT mode, then you can surf the Internet in the virtual machine and visit the website using the browser.

9. Other

CentOS on-check settings:

1. Turn off pre -fire

Service Iptables Stop

Chkconfig iptables off

2. Start the SSH service

Service sshd Start


CentOS in VirtualBox via Xshell link

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.