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 "/>
-
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 "/>
-
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